Commit Graph

41 Commits

Author SHA1 Message Date
Matt Borland
692a2b9c01 Fix failures on platforms with long double > 64 bits 2023-05-18 11:20:49 +02:00
Matt Borland
246d9e0d96 Enable long doubles on 64-bit platforms 2023-05-05 15:54:27 +02:00
Matt Borland
2dd43da0a3 Remove superflous check
See: ce0bc4b25f
2023-05-05 15:02:47 +02:00
Matt Borland
30edfaeb32 Fix scientific formatting when exponent is 0 2023-05-02 15:37:57 +02:00
Matt Borland
0a3a447059 Print min 2 digits in the exponent 2023-05-02 15:01:28 +02:00
Matt Borland
2185032f31 Suppress warning C4127 2023-04-25 15:07:14 +02:00
Matt Borland
9ed0637dab Pre-compile more of dragonbox 2023-04-25 13:49:01 +02:00
Matt Borland
4ddf923d7c Refactor cpp file and add testing for float type 2023-04-21 15:28:47 +02:00
Matt Borland
e58aeff5e2 Fix memmove offset and missing trailing zeros 2023-04-21 14:44:23 +02:00
Matt Borland
8dbdf1935e Refactor front end for floats 2023-04-20 13:24:51 +02:00
Matt Borland
e0409c8353 Adjust upper bound on integer printing 2023-04-18 13:11:21 +02:00
Matt Borland
92c8f6fcdf Add test to troubleshoot general format failure 2023-04-18 13:04:21 +02:00
Matt Borland
599febf90a Remove cruft 2023-04-14 14:39:03 +02:00
Matt Borland
5e43fee74f Change namespaces
[ci skip]
2023-04-12 16:15:21 +02:00
Matt Borland
96bb503485 Switch on precision rather than format
[ci skip]
2023-04-12 14:46:48 +02:00
Matt Borland
d63f1efde2 Establish common file for dragonbox and floff 2023-04-11 14:41:29 +02:00
Matt Borland
1a903ad119 Use dragonbox::to_decimal for values that diverge from printf
[ci skip]
2023-04-11 14:06:14 +02:00
Matt Borland
34c3d2b4a6 Add dragonbox shortest formatting
[ci skip]
2023-04-10 17:35:56 +02:00
Matt Borland
cbaf8a3d4b Refactor namespaces 2023-04-06 15:17:43 +02:00
Matt Borland
acbc912c83 Don't print trailing zeros with unspecified precision 2023-04-05 15:15:43 +02:00
Matt Borland
3a1286330c Implement to_chars for floats 2023-03-31 17:48:27 +02:00
Matt Borland
64a2359461 Fix clang implicit conversion warning 2023-03-31 17:11:29 +02:00
Matt Borland
17d778078a Add fixed formatting 2023-03-31 16:11:38 +02:00
Matt Borland
5667df7f07 Add testing with string stream 2023-03-30 18:37:33 +02:00
Matt Borland
b36dc17e40 Use integer to_chars if in integer range with general formatting 2023-03-27 16:34:44 +02:00
Matt Borland
5563d760ef Implement general notation for non-integer results 2023-03-27 16:16:54 +02:00
Matt Borland
3b186a9c6b Fix CI failures from macros and unreachable code with non-c++17 builds 2023-03-27 15:04:09 +02:00
Matt Borland
f0be262fdc Add multiple formatting options
[ci skip]
2023-03-22 11:27:50 -07:00
Matt Borland
d7ebadb2fc Work floff into to_chars 2023-03-22 10:20:33 -07:00
Matt Borland
cfdeea52ae Add printing functions
[ci skip]
2023-03-15 20:20:17 -07:00
Matt Borland
a69acf078e Fix compiler errors under C++17 2023-03-15 18:07:40 -07:00
Peter Dimov
43f8d1b777 Add long double to limits test 2023-02-09 19:16:45 +02:00
Peter Dimov
8a29575a8d Add stub implementations for long double 2023-02-09 18:40:47 +02:00
Peter Dimov
ecbf043f82 Add floating point from_chars check to test/limits.cpp 2023-02-09 01:29:58 +02:00
Peter Dimov
da25d61248 Activate float/double tests in roundtrip.cpp; add stub implementations of from_chars and to_chars to make them pass 2023-02-08 21:21:28 +02:00
Matt Borland
e55057214a Move buffer and add float stub to keep MSVC happy 2023-01-19 10:24:10 -08:00
Matt Borland
e699167d48 to_chars integer parser 2023-01-17 09:13:43 -08:00
Matt Borland
08e8f3c318 Revert ec to int and add tests for operator== and operator!= 2023-01-09 12:15:41 -08:00
Matt Borland
3c430119be Refactor to_chars_result to reflect 22.13.2 2023-01-09 11:40:26 -08:00
Peter Dimov
6f25ba2a48 Add stub implementations of from_chars and to_chars 2022-12-29 19:47:34 +02:00
Peter Dimov
3f1ad6d6f4 Initial commit 2022-12-29 19:41:33 +02:00