lattice_point.h: export fractional_part with C linkage