about summary refs log tree commit diff
path: root/src/stdlib/strtod.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-04-21 13:50:23 -0400
committerRich Felker <dalias@aerifal.cx>2012-04-21 13:50:23 -0400
commit2df2a97a20df22f598810b88409eb6107d23e7e1 (patch)
tree65ec9df277ea879b0aef02cba8117a7e0bc875d1 /src/stdlib/strtod.c
parent33e7781b5b71eac594b6fa539f6d75939e9b676d (diff)
downloadmusl-2df2a97a20df22f598810b88409eb6107d23e7e1.tar.gz
musl-2df2a97a20df22f598810b88409eb6107d23e7e1.tar.xz
musl-2df2a97a20df22f598810b88409eb6107d23e7e1.zip
skip leading zeros even after decimal point in floatscan
in principle this should just be an optimization, but it happens to
also fix a nasty bug where values like 0.00000000001 were getting
caught by the early zero detection path and wrongly scanned as zero.
Diffstat (limited to 'src/stdlib/strtod.c')
0 files changed, 0 insertions, 0 deletions