summaryrefslogtreecommitdiffstats
path: root/lib/msun/ld128/s_nanl.c
Commit message (Collapse)AuthorAgeFilesLines
* 1 << 47 needs to be written 1ULL << 47.das2008-03-021-1/+1
|
* Since nan() is supposed to work the same as strtod("nan(...)", NULL),das2007-12-181-10/+9
| | | | | | | | | | | | 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
* Implement and document nan(), nanf(), and nanl(). This commitdas2007-12-161-0/+47
adds two new directories in msun: ld80 and ld128. These are for long double functions specific to the 80-bit long double format used on x86-derived architectures, and the 128-bit format used on sparc64, respectively.
OpenPOWER on IntegriCloud