musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/internal/shgetc.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012年04月10日 23:41:54 -0400
committerRich Felker <dalias@aerifal.cx>2012年04月10日 23:41:54 -0400
commit38b3f1fea8fe4f2c590c1a9438d219291a7bfcd2 (patch)
tree22a961338661c17966ae76e6f6dc9e150e283951 /src/internal/shgetc.c
parent633a26c1e69b6a977d16086834f2b937e0378002 (diff)
downloadmusl-38b3f1fea8fe4f2c590c1a9438d219291a7bfcd2.tar.gz
fix float scanning of certain values ending in zeros
for example, "1000000000" was being read as "1" due to this loop exiting early. it's necessary to actually update z and zero the entries so that the subsequent rounding code does not get confused; before i did that, spurious inexact exceptions were being raised.
Diffstat (limited to 'src/internal/shgetc.c')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月16日 11:54:36 +0000

AltStyle によって変換されたページ (->オリジナル) /