hanchenye-llvm-project/libc
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
..
AOR_v20.02
benchmarks [libc] move benchmark function registration to a different file 2021-09-30 13:11:33 +00:00
cmake/modules [libc] Add a new suite called "libc-long-running-tests". 2021-08-21 05:01:28 +00:00
config [libc] Add FE_DFL_ENV and handle it in fesetenv. 2021-09-28 18:09:52 +00:00
docs
fuzzing [libc] Add an implementation of qsort. 2021-09-24 19:22:45 +00:00
include [libc] add inttypes header 2021-08-26 18:04:21 +00:00
lib
loader
spec [libc] Add FE_DFL_ENV and handle it in fesetenv. 2021-09-28 18:09:52 +00:00
src [libc][NFC] Add supporting class for atof implementation 2021-10-04 21:08:02 +00:00
test [libc][NFC] Add supporting class for atof implementation 2021-10-04 21:08:02 +00:00
utils [libc][NFC] Add supporting class for atof implementation 2021-10-04 21:08:02 +00:00
CMakeLists.txt
LICENSE.TXT
README.txt

README.txt

LLVM libc
=========

This directory and its subdirectories contain source code for llvm-libc,
a retargetable implementation of the C standard library.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.