platform_bionic/libc/upstream-openbsd
Elliott Hughes 7f0849fd11 Fix sscanf/wcstod parsing of NaNs.
The parsefloat routines -- which let us pass NaNs and infinities on to
strto(f|d|ld) -- come from NetBSD.

Also fix LP64's strtold to return a NaN, and fix all the architectures
to return quiet NaNs.

Also fix wcstof/wcstod/wcstold to use parsefloat so they support hex
floats.

Lots of new tests.

Bug: http://b/31101647
Change-Id: Id7d46ac2d8acb8770b5e8c445e87cfabfde6f111
2016-09-07 15:01:54 -07:00
..
android Fix sscanf/wcstod parsing of NaNs. 2016-09-07 15:01:54 -07:00
lib/libc Fix sscanf/wcstod parsing of NaNs. 2016-09-07 15:01:54 -07:00
README.txt Clean up and document our hacks for building BSD source. 2014-04-21 17:13:46 -07:00

This directory contains upstream OpenBSD source. You should not edit these
files directly. Make fixes upstream and then pull down the new version of
the file.

TODO: write a script to make this process automated.