[libc][Obvious][NFC] A bunch of cosmetic cleanup.* Added missing header guards.* Fixed license header format in a few files.* Renamed files to more suitable names.
[libc] add atof, strtof and strtodAdd the string to floating point conversion functions.Long doubles aren't supported yet, but floats and doubles are. Theprimary algorithm used is the Eisel-Lemir
[libc] add atof, strtof and strtodAdd the string to floating point conversion functions.Long doubles aren't supported yet, but floats and doubles are. Theprimary algorithm used is the Eisel-Lemire ParseNumberF64 algorithm,with the Simple Decimal Conversion algorithm as backup.Links for more information on the algorithms:Number Parsing at a Gigabyte per Second, Software: Practice andExperience 51 (8), 2021 (https://arxiv.org/abs/2101.11408)https://nigeltao.github.io/blog/2020/eisel-lemire.htmlhttps://nigeltao.github.io/blog/2020/parse-number-f64-simple.htmlDifferential Revision: https://reviews.llvm.org/D109261
show more ...
[libc] Add an implementation of qsort.A fuzzer for qsort has also been added.Reviewed By: michaelrjDifferential Revision: https://reviews.llvm.org/D110382