X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=fltpoint.h;fp=fltpoint.h;h=20caa727b84c8f8e12def77368aac03689c9d830;hp=0000000000000000000000000000000000000000;hb=29b32d134bc12831a8ddd098bf9aeeda26dcfe7c;hpb=4ca28ba07da9f3848c2e3db0e2e9cbcaa787dd29 diff --git a/fltpoint.h b/fltpoint.h new file mode 100644 index 0000000..20caa72 --- /dev/null +++ b/fltpoint.h @@ -0,0 +1,10 @@ +// +// Cross-platform floating point handling +// + +#include + +uint32_t FloatToIEEE754(float f); +uint64_t DoubleToIEEE754(double d); +void DoubleToExtended(double d, uint8_t out[]); +