Sfoglia il codice sorgente

Define float_t and double_t

Jeremy Soller 2 anni fa
parent
commit
058509bd88
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      include/math.h

+ 4 - 0
include/math.h

@@ -1,5 +1,9 @@
 #include <openlibm_math.h>
 
+// Missing typedefs
+typedef float float_t;
+typedef double double_t;
+
 // Included to fix mesa issues
 #ifndef M_PI
 #define	M_PI		3.14159265358979323846	/* pi */