add float_t and double_t to math.h
authorRich Felker <dalias@aerifal.cx>
Thu, 16 Feb 2012 02:47:55 +0000 (21:47 -0500)
committerRich Felker <dalias@aerifal.cx>
Thu, 16 Feb 2012 02:47:55 +0000 (21:47 -0500)
arch/arm/bits/alltypes.h.sh
arch/i386/bits/alltypes.h.sh
arch/x86_64/bits/alltypes.h.sh
include/math.h

index af73e6647dcbb47ffe22bd3a643a7a7e0a3e154b..ddc5c06fd27c10dd38494fa9a0812e95b538c5a7 100755 (executable)
@@ -56,6 +56,9 @@ TYPEDEF uint64_t           uint_fast64_t;
 TYPEDEF long          intptr_t;
 TYPEDEF unsigned long uintptr_t;
 
+TYPEDEF float float_t;
+TYPEDEF double double_t;
+
 TYPEDEF long time_t;
 TYPEDEF int suseconds_t;
 STRUCT timeval { time_t tv_sec; int tv_usec; };
index 5aacc2931a38fef187310b66cde0a7de1338bb23..b1505a11169545f668e0d7a15dfb4b9a9276ab51 100755 (executable)
@@ -64,6 +64,9 @@ TYPEDEF uint64_t           uint_fast64_t;
 TYPEDEF long          intptr_t;
 TYPEDEF unsigned long uintptr_t;
 
+TYPEDEF long double float_t;
+TYPEDEF long double double_t;
+
 TYPEDEF long time_t;
 TYPEDEF int suseconds_t;
 STRUCT timeval { time_t tv_sec; int tv_usec; };
index 10fc3d52f2273ea1e4fe96ef88a9cad76f89cb8c..929a0f67a716b34a1c01fc34546d322872dec1cf 100755 (executable)
@@ -55,6 +55,9 @@ TYPEDEF uint64_t           uint_fast64_t;
 TYPEDEF long          intptr_t;
 TYPEDEF unsigned long uintptr_t;
 
+TYPEDEF double float_t;
+TYPEDEF double double_t;
+
 TYPEDEF long time_t;
 TYPEDEF long suseconds_t;
 STRUCT timeval { time_t tv_sec; long tv_usec; };
index 9c5f06e7b6e7830c0c21dc5d5a9e2a6d7e0c72b7..1a5f6fe9a4969c1be02810c2ceef6e11bc921235 100644 (file)
@@ -5,6 +5,8 @@
 extern "C" {
 #endif
 
+#define __NEED_float_t
+#define __NEED_double_t
 #define __NEED___uint16_t
 #define __NEED___uint32_t
 #define __NEED___uint64_t