libnix/defunc/__floatunsidf.c

7 lines
157 B
C
Executable File

#include <proto/mathieeedoubbas.h>
double __floatunsidf(signed long x)
{ if (x >= 0) return IEEEDPFlt(x);
return IEEEDPFlt(x - 0x80000000) + 0x8000000;
}