about summary refs log tree commit diff
path: root/arch
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2015-03-07 11:00:37 +0100
committerRich Felker <dalias@aerifal.cx>2015-03-07 12:05:28 -0500
commit559de8f5f06da9022cbba70e22e14a710eb74513 (patch)
treef8980299d0f0a77f4a613c2fc58ada81b789aa66 /arch
parentbd67959f3ad5049c35af0a0e2f8f1a1e60577a49 (diff)
downloadmusl-559de8f5f06da9022cbba70e22e14a710eb74513.tar.gz
musl-559de8f5f06da9022cbba70e22e14a710eb74513.tar.xz
musl-559de8f5f06da9022cbba70e22e14a710eb74513.zip
fix FLT_ROUNDS to reflect the current rounding mode
Implemented as a wrapper around fegetround introducing a new function
to the ABI: __flt_rounds. (fegetround cannot be used directly from float.h)
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/bits/float.h1
-rw-r--r--arch/i386/bits/float.h1
-rw-r--r--arch/microblaze/bits/float.h1
-rw-r--r--arch/mips/bits/float.h1
-rw-r--r--arch/or1k/bits/float.h1
-rw-r--r--arch/powerpc/bits/float.h1
-rw-r--r--arch/sh/bits/float.h1
-rw-r--r--arch/x32/bits/float.h1
-rw-r--r--arch/x86_64/bits/float.h1
9 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/bits/float.h b/arch/arm/bits/float.h
index ec46b94b..c4a655e7 100644
--- a/arch/arm/bits/float.h
+++ b/arch/arm/bits/float.h
@@ -1,4 +1,3 @@
-#define FLT_ROUNDS 1
 #define FLT_EVAL_METHOD 0
 
 #define LDBL_TRUE_MIN 4.94065645841246544177e-324L
diff --git a/arch/i386/bits/float.h b/arch/i386/bits/float.h
index c356cba9..dd6e4029 100644
--- a/arch/i386/bits/float.h
+++ b/arch/i386/bits/float.h
@@ -1,4 +1,3 @@
-#define FLT_ROUNDS 1
 #ifdef __FLT_EVAL_METHOD__
 #define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
 #else
diff --git a/arch/microblaze/bits/float.h b/arch/microblaze/bits/float.h
index ec46b94b..c4a655e7 100644
--- a/arch/microblaze/bits/float.h
+++ b/arch/microblaze/bits/float.h
@@ -1,4 +1,3 @@
-#define FLT_ROUNDS 1
 #define FLT_EVAL_METHOD 0
 
 #define LDBL_TRUE_MIN 4.94065645841246544177e-324L
diff --git a/arch/mips/bits/float.h b/arch/mips/bits/float.h
index ec46b94b..c4a655e7 100644
--- a/arch/mips/bits/float.h
+++ b/arch/mips/bits/float.h
@@ -1,4 +1,3 @@
-#define FLT_ROUNDS 1
 #define FLT_EVAL_METHOD 0
 
 #define LDBL_TRUE_MIN 4.94065645841246544177e-324L
diff --git a/arch/or1k/bits/float.h b/arch/or1k/bits/float.h
index ec46b94b..c4a655e7 100644
--- a/arch/or1k/bits/float.h
+++ b/arch/or1k/bits/float.h
@@ -1,4 +1,3 @@
-#define FLT_ROUNDS 1
 #define FLT_EVAL_METHOD 0
 
 #define LDBL_TRUE_MIN 4.94065645841246544177e-324L
diff --git a/arch/powerpc/bits/float.h b/arch/powerpc/bits/float.h
index ec46b94b..c4a655e7 100644
--- a/arch/powerpc/bits/float.h
+++ b/arch/powerpc/bits/float.h
@@ -1,4 +1,3 @@
-#define FLT_ROUNDS 1
 #define FLT_EVAL_METHOD 0
 
 #define LDBL_TRUE_MIN 4.94065645841246544177e-324L
diff --git a/arch/sh/bits/float.h b/arch/sh/bits/float.h
index ec46b94b..c4a655e7 100644
--- a/arch/sh/bits/float.h
+++ b/arch/sh/bits/float.h
@@ -1,4 +1,3 @@
-#define FLT_ROUNDS 1
 #define FLT_EVAL_METHOD 0
 
 #define LDBL_TRUE_MIN 4.94065645841246544177e-324L
diff --git a/arch/x32/bits/float.h b/arch/x32/bits/float.h
index 9ea29914..4d8e7864 100644
--- a/arch/x32/bits/float.h
+++ b/arch/x32/bits/float.h
@@ -1,4 +1,3 @@
-#define FLT_ROUNDS 1
 #ifdef __FLT_EVAL_METHOD__
 #define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
 #else
diff --git a/arch/x86_64/bits/float.h b/arch/x86_64/bits/float.h
index 9ea29914..4d8e7864 100644
--- a/arch/x86_64/bits/float.h
+++ b/arch/x86_64/bits/float.h
@@ -1,4 +1,3 @@
-#define FLT_ROUNDS 1
 #ifdef __FLT_EVAL_METHOD__
 #define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
 #else