mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-03 01:38:30 +00:00
Make gdtoa less tunable (#104)
The -fno-math-errno flag shouldn't impact libraries since it's mostly intended for permitting the compiler to generate sqrt() instructions.
This commit is contained in:
parent
8a6ac6dd63
commit
a8945714e8
8 changed files with 485 additions and 124 deletions
8
third_party/gdtoa/gdtoa.internal.h
vendored
8
third_party/gdtoa/gdtoa.internal.h
vendored
|
@ -16,14 +16,6 @@ asm(".include \"libc/disclaimer.inc\"");
|
|||
#define d_QNAN0 0x7ff80000
|
||||
#define d_QNAN1 0x0
|
||||
|
||||
#if __NO_MATH_ERRNO__ + 0
|
||||
#define NO_ERRNO 1
|
||||
#endif
|
||||
|
||||
#if __FINITE_MATH_ONLY__ + 0
|
||||
#define NO_INFNAN_CHECK 1
|
||||
#endif
|
||||
|
||||
/****************************************************************
|
||||
|
||||
The author of this software is David M. Gay.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue