Date: Sun, 16 Dec 2007 21:13:54 +0000 (UTC) From: David Schultz <das@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/gdtoa hexnan.c Message-ID: <200712162113.lBGLDs6b044027@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
das 2007-12-16 21:13:54 UTC
FreeBSD src repository
Modified files:
contrib/gdtoa hexnan.c
Log:
Some changes the vendor didn't want:
- Accept the '0x' prefix so strtod("nan(0x...)", NULL) returns the same
thing as gcc's builtin nan("0x...") for such strings.
- Don't return uninitialized memory.
- Finish processing the string up to the closing ')' (provided it's
lexically valid) for compatibility with C99 and *scanf().
Revision Changes Path
1.2 +31 -12 src/contrib/gdtoa/hexnan.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712162113.lBGLDs6b044027>
