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/stdio/snprintf.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012年04月10日 11:52:55 -0400
committerRich Felker <dalias@aerifal.cx>2012年04月10日 11:52:55 -0400
commit415c4cd7fdb3e8b7476fbb2be2390f4592cf5165 (patch)
tree8dd9bb181dd259227dd6101633f81880cd0157f3 /src/stdio/snprintf.c
parent3be616c1df7ee176b5e00b9f493136ca7385ec46 (diff)
downloadmusl-415c4cd7fdb3e8b7476fbb2be2390f4592cf5165.tar.gz
new floating point parser/converter
this version is intended to be fully conformant to the ISO C, POSIX, and IEEE standards for conversion of decimal/hex floating point strings to float, double, and long double (ld64 or ld80 only at present) values. in particular, all results are intended to be rounded correctly according to the current rounding mode. further, this implementation aims to set the floating point underflow, overflow, and inexact flags to reflect the conversion performed. a moderate amount of testing has been performed (by nsz and myself) prior to integration of the code in musl, but it still may have bugs. so far, only strto(d|ld|f) use the new code. scanf integration will be done as a separate commit, and i will add implementations of the wide character functions later.
Diffstat (limited to 'src/stdio/snprintf.c')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月21日 22:17:50 +0000

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