diff options
author | das <das@FreeBSD.org> | 2007-12-18 23:46:32 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2007-12-18 23:46:32 +0000 |
commit | ac3245defa5b1bb36c29b4ae9702115677ac6d14 (patch) | |
tree | cc7d3c6c65e458a5e66bc120ecd32455cdc17f95 /lib/libc/amd64 | |
parent | 17d5d1f3fcd827013e9f114e95fb1825729aa325 (diff) | |
download | FreeBSD-src-ac3245defa5b1bb36c29b4ae9702115677ac6d14.zip FreeBSD-src-ac3245defa5b1bb36c29b4ae9702115677ac6d14.tar.gz |
Since nan() is supposed to work the same as strtod("nan(...)", NULL),
my original implementation made both use the same code. Unfortunately,
this meant libm depended on a vendor header at compile time and previously-
unexposed vendor bits in libc at runtime.
Hence, I just wrote my own version of the relevant vendor routine. As it
turns out, mine has a factor of 8 fewer of lines of code, and is a bit more
readable anyway. The strtod() and *scanf() routines still use vendor code.
Reviewed by: bde
Diffstat (limited to 'lib/libc/amd64')
-rw-r--r-- | lib/libc/amd64/Symbol.map | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libc/amd64/Symbol.map b/lib/libc/amd64/Symbol.map index 1eedcf3e..ab85781 100644 --- a/lib/libc/amd64/Symbol.map +++ b/lib/libc/amd64/Symbol.map @@ -71,7 +71,4 @@ FBSDprivate_1.0 { _end; __sys_vfork; _vfork; - - /* used in libm */ - __ULtox_D2A; }; |