Including FastFloat in parsing process (#62301)
authorCarl Verret <carlverret76@gmail.com>
Tue, 8 Feb 2022 19:33:46 +0000 (14:33 -0500)
committerGitHub <noreply@github.com>
Tue, 8 Feb 2022 19:33:46 +0000 (11:33 -0800)
commita7027128ad6b0bd879b4cf2af6ef8686d725fcc9
treebdf132de5137060071a1720156c81dcc127e34b9
parent567c7c4d791c1b7b1dc0c8cc50e4bf6bca0aa65a
Including FastFloat in parsing process (#62301)

* Including FastFloat in parsing process

* PR step 1 - adjusting code in regards to received comments.

* DigitsToUInt64 : Parsing batches of 8 digits with SWAR

* Update src/libraries/System.Private.CoreLib/src/System/Number.NumberToFloatingPointBits.cs

Co-authored-by: Günther Foidl <gue@korporal.at>
* Update src/libraries/System.Private.CoreLib/src/System/Number.NumberToFloatingPointBits.cs

Co-authored-by: Günther Foidl <gue@korporal.at>
* MaxMantissaFastPath fix

* merge problem...

* Revert "merge problem..."

This reverts commit 1b5fd5136a5396c6439ffd47ef46d0c8b3134693.

* removing an extra comparison for fast path.

* According to PR review, all requested changes are in this commit.

* According to new serie of comments on this PR.

* Fixing formatting.

* fixing sentence ending in comments

* Update THIRD-PARTY-NOTICES.TXT

Adding license notice for FastFloat algorithm

* Update src/libraries/System.Private.CoreLib/src/System/Number.NumberToFloatingPointBits.cs

Co-authored-by: Tanner Gooding <tagoo@outlook.com>
* Identation of power of 5 table

* some adjustements according to reviewer's requests.

* Unnecessary assignment of a value to 'exponent'

* removing excedent path for total digits < 7

* removing path for totaldigits <7

* getting rid of unused power of 10 table

* Renaming FastFloat specific values
Specifying infinitePower param as hexa

* renaming some variables and adjusting comments.

* Handle endianness swapping for BigEndian systems.

Co-authored-by: Günther Foidl <gue@korporal.at>
Co-authored-by: Tanner Gooding <tagoo@outlook.com>
THIRD-PARTY-NOTICES.TXT
src/libraries/System.Private.CoreLib/src/System/Number.NumberToFloatingPointBits.cs