]> Shamusworld >> Repos - rmac/blobdiff - fltpoint.h
Lots of fixes for floating point handling; version now at 1.11.0.
[rmac] / fltpoint.h
diff --git a/fltpoint.h b/fltpoint.h
new file mode 100644 (file)
index 0000000..20caa72
--- /dev/null
@@ -0,0 +1,10 @@
+//
+// Cross-platform floating point handling
+//
+
+#include <stdint.h>
+
+uint32_t FloatToIEEE754(float f);
+uint64_t DoubleToIEEE754(double d);
+void DoubleToExtended(double d, uint8_t out[]);
+