diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-04-21 13:50:23 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-04-21 13:50:23 -0400 |
commit | 2df2a97a20df22f598810b88409eb6107d23e7e1 (patch) | |
tree | 65ec9df277ea879b0aef02cba8117a7e0bc875d1 /src/time/utime.c | |
parent | 33e7781b5b71eac594b6fa539f6d75939e9b676d (diff) | |
download | musl-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/time/utime.c')
0 files changed, 0 insertions, 0 deletions