> import std.math: fmod; > import std.stdio: printf; > void main() { > double r = fmod(2.3 + 3.0, 3.0); > printf("%f\n", r); > } And this works with ldc2: import core.stdc.math: fmod; Bye, bearophile