Commit Graph

98 Commits

Author SHA1 Message Date
Maxim Reznik
cdda8554fe Change license header to Apache 2.0 2022-06-21 10:14:14 +03:00
Jesper Quorning
b93966e801 Typo: enough 2022-05-16 00:20:16 +03:00
Jesper Quorning
5e840659e8 Typo: value 2022-05-16 00:20:16 +03:00
Jesper Quorning
d4197f04f2 Typo: returns 2022-05-16 00:20:16 +03:00
Jesper Quorning
bcfc25558e Typo: algorithm 2022-05-16 00:20:16 +03:00
Jesper Quorning
0e97d44e94 Typo: unsigned 2022-05-16 00:20:16 +03:00
Vadim Godunko
730630137f Remove unused with clause. 2022-03-15 13:54:06 +03:00
Vadim Godunko
b3dda88737 Style fixes. 2022-03-15 10:43:53 +03:00
Vadim Godunko
1c36f7059b Rename Mantissa to Significand. 2022-03-15 10:43:53 +03:00
Vadim Godunko
9661d9dbbe Complete implementation of string to float conversion. 2022-03-15 10:43:53 +03:00
Vadim Godunko
57d7659bea Accumulate JSON number as packed decimal. 2022-03-15 10:43:53 +03:00
Vadim Godunko
b515ffe903 Remove unnecessary check. 2022-03-15 10:43:53 +03:00
Vadim Godunko
42b7cffde0 Enchance Encode_IEEE_Float to support negative numbers. 2022-03-15 10:43:53 +03:00
Vadim Godunko
6cedc04b91 Change type of return value for Eisel_Lemire.Convert. 2022-03-15 10:43:53 +03:00
Vadim Godunko
2a4166d0eb Remove unused code. 2022-03-15 10:43:53 +03:00
Vadim Godunko
0a53ad760d Construct float value for next significand and check its value...
... when significand is inexact number, to fallback to full
implementation only when necessary.
2022-02-23 08:14:08 +03:00
Vadim Godunko
a87b8fb919 Use both Ada_2020 and Ada_2022 pragmas. 2022-02-23 08:14:08 +03:00
Vadim Godunko
864b8331af Use original algorithm which provides less fallbacks. 2022-02-23 08:14:08 +03:00
Vadim Godunko
2fbb83165a Report invalid character in escape sequence. 2022-02-17 19:51:45 +03:00
Vadim Godunko
2f65567176 Improve error messages. 2022-02-17 19:51:45 +03:00
Vadim Godunko
ee1524979a Report error on unexpected character in escape sequences. 2022-02-17 19:51:45 +03:00
Vadim Godunko
89992e624d Remove duplicate asignment. 2022-02-17 19:51:45 +03:00
Vadim Godunko
196d5ab3a1 Implement fast number literal to value converters. 2022-02-17 14:42:27 +03:00
Vadim Godunko
767e3393d6 Remove Is_Float member and redirect frac and exp digits to parser. 2022-02-17 14:42:27 +03:00
Vadim Godunko
e7a5f63b5e Package to convert integer numbers to JSON_Number. 2022-02-17 14:42:27 +03:00