Logo
Explore Help
Sign In
fluencelabs/musl
1
0
Fork 0
You've already forked musl
mirror of https://github.com/fluencelabs/musl synced 2025-06-16 00:11:36 +00:00
Code Issues Projects Releases Wiki Activity
Files
4fb6aa02c88a6b8b718c0ae982d072aa6ab8559f
musl/src/internal/floatscan.h

9 lines
126 B
C
Raw Normal View History

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.
2012-04-10 11:52:55 -04:00
#ifndef FLOATSCAN_H
#define FLOATSCAN_H
#include <stdio.h>
long double __floatscan(FILE *, int, int, int, off_t *);
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.0 Page: 230ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API