For more-accurate solutions, greater strength might be needed instead of "MOD":
https://www.unix.com/man-page/linux/3/fmod/
Likely the "fmodl()" out of them.
Some of the variables then have to be declared _INTEGER64 and others _DOUBLE or _FLOAT.
https://www.unix.com/man-page/linux/3/fmod/
Likely the "fmodl()" out of them.
Some of the variables then have to be declared _INTEGER64 and others _DOUBLE or _FLOAT.