Victor Zverovich
7eddbfed53
Cleanup exponent handling in write_float
2020-10-07 15:58:43 -07:00
Victor Zverovich
b347b3023f
Update dynamic_formatter comment ( #1923 )
2020-10-07 12:15:07 -07:00
Victor Zverovich
3541880efd
Fix integer overflow when using max int precision
2020-10-07 11:27:02 -07:00
Victor Zverovich
7b50dc0b24
Don't exclude all detail symbols from docs
2020-10-07 09:07:39 -07:00
Victor Zverovich
2805243103
Fix the doc config
2020-10-07 08:11:59 -07:00
Victor Zverovich
34f22e88a1
Cleanup CMake config
2020-10-07 08:11:42 -07:00
Victor Zverovich
a18b3fbbdc
Fix fixed precision handling when rounding ( #1917 )
2020-10-07 07:42:23 -07:00
francesco-st
7277035736
Fix long lines in usage.md
2020-10-06 06:26:11 -07:00
francesco-st
7612c1ea87
Add reference to lhelper package manager in usage
2020-10-06 06:26:11 -07:00
Victor Zverovich
b91d39f20b
Get rid of float_writer
2020-10-05 06:34:04 -07:00
Victor Zverovich
b4b64b9cce
Refactor float formatting
2020-10-04 14:44:25 -07:00
Victor Zverovich
712abe40f2
Workaround a bug in gcc 7.5 ( #1912 )
...
Thanks Martin Janzen.
2020-10-04 09:20:37 -07:00
Victor Zverovich
af8a180aed
Make GetCachedPower test more precise
2020-10-04 08:00:47 -07:00
Kazantcev Andrey
a581e9e5d8
Fix warning C4018: '<=': signed/unsigned mismatch ( #1908 )
2020-10-02 06:30:57 -07:00
Victor Zverovich
05a28312cf
Update docs
2020-09-30 17:38:28 -07:00
Victor Zverovich
4d0aa4d8fe
Update link
2020-09-30 17:21:07 -07:00
Victor Zverovich
575f401896
Simplify FP formatting and follow coding conventions
2020-09-30 06:36:17 -07:00
jk-jeon
6f3536f974
Move zero-check to an earlier branch ( #1906 )
2020-09-29 06:24:53 -07:00
Victor Zverovich
90ef46df0b
Fix dragonbox integration
2020-09-28 18:10:46 -07:00
Victor Zverovich
3ae88147e2
Fix declaration
2020-09-28 06:50:09 -07:00
Victor Zverovich
6417952574
Improve dragonbox integration
2020-09-27 20:49:37 -07:00
Victor Zverovich
79694d424c
Fix WriteConsole signature
2020-09-27 14:26:28 -07:00
Victor Zverovich
51f2e2ca27
Move nan test to where it belongs
2020-09-27 12:50:18 -07:00
Victor Zverovich
68555fdbd2
Make format-test not depend on color.h
2020-09-27 09:17:57 -07:00
Victor Zverovich
63e0c35412
Make dragonbox::to_decimal available in format.h
2020-09-27 07:27:44 -07:00
Victor Zverovich
2213a7110c
Update README.rst
2020-09-26 11:46:39 -07:00
Victor Zverovich
79ba37f3bf
Update README.rst
2020-09-26 10:13:04 -07:00
Victor Zverovich
a905d8f704
Merge grisu-test into format-test
2020-09-26 08:23:16 -07:00
Victor Zverovich
762c33a964
Simplify windows handling ( #1903 )
2020-09-26 08:20:38 -07:00
Bernd Baumanns
253d63159f
Remove dependency on windows.h ( #1900 )
2020-09-26 07:03:16 -07:00
Victor Zverovich
c156093ffd
Fix carry in fallback_format
2020-09-25 10:12:44 -07:00
moiwi
34179b3354
Update format.h ( #1898 )
2020-09-24 08:16:16 -07:00
Victor Zverovich
0651e4598b
Minor tweaks to get_cached_power
2020-09-23 16:04:40 -07:00
Victor Zverovich
6c025520aa
Test that max_k is correctly defined
2020-09-23 15:44:37 -07:00
Victor Zverovich
51f8d0cc21
Reuse log10_2_significand constant
2020-09-23 13:19:21 -07:00
Riccardo Ghetta (larix)
1305cbeb6f
Fix MSVC2019 error C2049 when compiling with /clr ( #1897 )
...
'fmt::v7': non-inline namespace cannot be reopened as inline
2020-09-23 09:55:41 -07:00
Victor Zverovich
2d4fde3a2e
Don't emit trailing zero for consistency with std::format
2020-09-23 09:19:12 -07:00
Victor Zverovich
5fd89d50e4
Minor simplifications
2020-09-23 08:05:31 -07:00
Victor Zverovich
605ce5e429
Simplify divisible_by_power_of_2
2020-09-22 20:44:29 -07:00
Victor Zverovich
085171e7e6
Remove grisu_count_digits
2020-09-22 19:36:52 -07:00
Victor Zverovich
aa729bf25b
Remove dead code
2020-09-22 16:58:02 -07:00
Victor Zverovich
aa2ddf9b86
Simplify Dragonbox integration
2020-09-22 16:20:40 -07:00
Victor Zverovich
c1654ce487
Simplify uint32_or_64_or_128_t definition
2020-09-22 15:08:37 -07:00
Victor Zverovich
33712dc07a
Combine pragmas
2020-09-22 14:47:35 -07:00
Victor Zverovich
e5942ac9dd
Tweak comments
2020-09-22 14:36:10 -07:00
Victor Zverovich
aae7a1338c
Remove unused pragmas
2020-09-22 14:00:41 -07:00
jk-jeon
6bcde9aab2
https://github.com/fmtlib/fmt/pull/1882#issuecomment-696823912 ( #1894 )
2020-09-22 10:33:52 -07:00
Victor Zverovich
bb0db5e51e
clang-format
2020-09-22 08:19:37 -07:00
Victor Zverovich
16410056bf
Optimize copy_str for counting_iterator
2020-09-22 07:56:09 -07:00
mwinterb
2591ab91c3
MSVC optimizations for count_digits. ( #1890 )
...
Changed the clz implementations to use xor instead of subtraction so that when
count_digits "undoes" the BSR -> CLZ translation, the optimizer is more
willing to recognize the equivalence.
Changed the data array in bsr2log10 to static since otherwise MSVC generates
code to build the array every time the function is called.
2020-09-21 11:38:06 -07:00