linuxcnc/docs/man/man3/rtapi_div_u64_rem.3rtapi
Jeff Epler a4971ede05 rtapi_math64.h: division and remainder of 64-bit quantities
this is frequently desirable, but merely writing the obvious
x % y formulation can lead to the 'undefined symbol __umoddi3'
error.

Linux provides some routines to do division of 64-bit quantities
by 32-bit divisors; adopt this in rtapi, and provide a version written
in the obvious way when in userspace.
2011-08-14 18:41:18 +00:00

1 line
30 B
Text