projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59c4ead
)
support -mfpmath=387 on x86_64
author
Rich Felker
<dalias@aerifal.cx>
Tue, 10 Jul 2012 05:18:40 +0000
(
01:18
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 10 Jul 2012 05:18:40 +0000
(
01:18
-0400)
apparently somebody wants this for something... and it doesn't hurt.
arch/x86_64/bits/float.h
patch
|
blob
|
history
diff --git
a/arch/x86_64/bits/float.h
b/arch/x86_64/bits/float.h
index 5ed6cbe3ad80585673be306d612f9e74b5468f73..17fd74d7447a5521d5547d4106b65804c2c1b931 100644
(file)
--- a/
arch/x86_64/bits/float.h
+++ b/
arch/x86_64/bits/float.h
@@
-1,5
+1,9
@@
#define FLT_ROUNDS 1
+#ifdef __FLT_EVAL_METHOD__
+#define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
+#else
#define FLT_EVAL_METHOD 0
+#endif
#define LDBL_MIN 3.3621031431120935063e-4932L
#define LDBL_MAX 1.1897314953572317650e+4932L