llvm-capstone/libc
Michael Jones bf7f01d857 [libc] fix strtofloatingpoint on rare edge case
Currently, there are two string parsers that can be used in a call to
strtofloatingpoint. There is the main parser used by Clinger's fast path
and Eisel-Lemire, and the backup parser used by Simple Decimal
Conversion. There was a bug in the backup parser where if the number had
more than 800 digits (the size of the SDC buffer) before the decimal
point, it would just ignore the digits after the 800th and not count
them into the exponent. This patch fixes that issue and adds regression
tests.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D130032
2022-07-18 14:23:33 -07:00
..
AOR_v20.02 Harmonize Python shebang 2020-07-16 21:53:45 +02:00
benchmarks Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options 2022-06-05 00:31:44 -07:00
cmake/modules [libc][NFC] Make all integration tests depend on the threads implementation. 2022-07-13 20:51:12 +00:00
config [libc][arm32] add string stdlib & math entrypoints 2022-07-15 10:10:58 -07:00
docs [libc][docs] Added fmod performance results. 2022-06-27 19:31:54 +02:00
fuzzing [libc][NFC] split standalone_cpp into single headers 2022-03-08 11:56:08 -08:00
include [libc][NFC] Move thread platform data pointer to thread attributes. 2022-07-13 07:09:40 +00:00
lib Use add_llvm_install_targets for install-llvmlibc 2022-07-04 17:18:36 +00:00
loader [libc] Enable a few stdlib and time functions on aarch64. 2022-07-14 14:37:50 -07:00
spec [libc] Add implementations of pthread_equal and pthread_self. 2022-07-14 20:12:35 +00:00
src [libc] fix strtofloatingpoint on rare edge case 2022-07-18 14:23:33 -07:00
test [libc] fix strtofloatingpoint on rare edge case 2022-07-18 14:23:33 -07:00
utils [libc] Specify rounding mode for strto[f|d] tests 2022-07-13 20:20:30 +00:00
.clang-tidy [libc] Add a naming rule for global constants. 2022-01-19 22:11:16 +00:00
.gitignore [libc][Obvious] Add build folder to .gitignore. 2022-03-04 13:16:55 -05:00
CMakeLists.txt [libc] Implement FLAGS option for generating all combinations for targets. 2022-06-01 00:54:07 -04:00
LICENSE.TXT Rename top-level LICENSE.txt files to LICENSE.TXT 2021-03-10 21:26:24 -08:00
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.