llvm-project/libc/src
Michael Jones 6f80339b18 [libc][NFC] Add supporting class for atof implementation
This change adds the High Precision Decimal described here:
https://nigeltao.github.io/blog/2020/parse-number-f64-simple.html
It will be used for the atof implementation later, but is complete and
tested now.

The code is inspired by the golang implmentation of the HPD class, which
can be found here: https://github.com/golang/go/blob/release-branch.go1.16/src/strconv/decimal.go

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D110454
2021-10-04 21:08:02 +00:00
..
__support [libc][NFC] Add supporting class for atof implementation 2021-10-04 21:08:02 +00:00
assert [libc] Switch to use a macro which does not insert a section for every libc function. 2021-01-08 23:52:35 +00:00
ctype [libc][NFC] Add explicit casts to ctype functions 2021-08-23 18:17:20 +00:00
errno [libc][NFC] Add dummy errno target to satisfy mixed mode builds. 2021-07-30 17:42:48 +00:00
fenv [libc] Add extension functions fedisableexcept, feenableexcept and fegetexcept. 2021-09-10 18:44:53 +00:00
inttypes [libc][obvious] Add inttypes.h and stdlib.h as deps to *div functions. 2021-09-20 05:54:32 +00:00
math [libc] Add range reduction functions based on Paine and Hanek algorithm. 2021-08-23 05:18:41 +00:00
signal [libc] Switch to use a macro which does not insert a section for every libc function. 2021-01-08 23:52:35 +00:00
stdio [libc] Add very basic stdio FILE and fwrite 2020-04-14 04:02:27 -04:00
stdlib [libc] Add an implementation of qsort. 2021-09-24 19:22:45 +00:00
string [libc][NFC] Make strchr and strrchr more consistent 2021-09-28 17:42:03 +00:00
sys [libc] Switch to use a macro which does not insert a section for every libc function. 2021-01-08 23:52:35 +00:00
threads [libc] Add implementations of the C standard condition variable functions. 2021-09-28 21:18:45 +00:00
time [libc] Introduce asctime, asctime_r to LLVM libc 2021-05-03 17:15:00 -07:00
unistd [libc] Switch to use a macro which does not insert a section for every libc function. 2021-01-08 23:52:35 +00:00
.clang-tidy [libc] Fix accidental inclusion of system libc headers. 2020-05-21 01:21:37 -07:00
CMakeLists.txt [libc] add inttypes header 2021-08-26 18:04:21 +00:00