#include #include int main( int argc,char * argv[ ] ) { double res; union { unsigned long long l; double d; } op1, op2; op1.l = 0x7fefffffffffffff; op2.l = 0x0000000000000001; printf("%llx %llx\n", op1.l, op2.l); res = remainder(op1.d, op2.d); printf("%llx\n", res); }