]> Shamusworld >> Repos - rmac/blobdiff - fltpoint.h
Fix a small buglet in the last patch. :-)
[rmac] / fltpoint.h
index 558ad7b5d24e378c01b607d486b5de3b62889d62..9704f5ee804d5dc83de1d3b316fce46ccf958783 100644 (file)
@@ -2,7 +2,7 @@
 // Cross-platform floating point handling (fixed point handling too!)
 //
 // by James Hammons
-// (C) 2018 Underground Software
+// (C) 2019 Underground Software
 //
 
 #ifndef __FLTPOINT_H__
@@ -13,6 +13,7 @@
 uint32_t FloatToIEEE754(float f);
 uint64_t DoubleToIEEE754(double d);
 void DoubleToExtended(double d, uint8_t out[]);
+uint32_t DoubleToDSPFloat(double d);
 
 uint64_t DoubleToFixedPoint(double d, int intBits, int fracBits);