959 Commits

Author SHA1 Message Date
IRainman
a4c573e8ab compilation fix 2025-05-06 21:54:40 +03:00
IRainman
a10b25f1e9 Merge branch 'main' of https://github.com/IRainman/fast_float 2025-05-06 21:09:40 +03:00
IRainman
3f9e488979 format, fuck. 2025-05-06 21:09:33 +03:00
HedgehogInTheCPP
c339618252
Update msys2.yml 2025-05-06 21:07:02 +03:00
HedgehogInTheCPP
30bd959a0f
Update msys2-clang.yml 2025-05-06 21:06:34 +03:00
IRainman
e5f189754f compilation fixes. 2025-05-06 21:05:05 +03:00
IRainman
f2befa5876 . 2025-05-06 19:43:08 +03:00
IRainman
ba3f7a68a3 . 2025-05-06 19:35:59 +03:00
IRainman
66363ccb37 try to fix stupid shit in the tests, meh. 2025-05-06 19:16:05 +03:00
IRainman
99d769db5b clang-format 2025-05-06 18:15:43 +03:00
IRainman
d5c05e51af additional type usage fixes and constexpr. 2025-05-06 17:44:31 +03:00
IRainman
afbb803aa4 compilation fixes for std::bfloat16_t and std::float16_t. Sorry for this, my compilers don't supports it.
additional type usage fixes and constexpr.
2025-05-06 16:53:30 +03:00
IRainman
b2ea7bcaab clang-format 2025-05-06 14:42:16 +03:00
IRainman
c94d3a048c clang-format 2025-05-06 14:32:53 +03:00
IRainman
9049a1a511 clang-format. 2025-05-06 14:26:20 +03:00
IRainman
a8c5bd9a38 warning fix. 2025-05-05 20:24:16 +03:00
IRainman
1febc3a070 Fix compilation for older standards 2025-05-05 20:19:46 +03:00
IRainman
0ba4e20bc4 lint 2025-05-05 19:49:53 +03:00
IRainman
5356317356 Fix compilation for older standards 2025-05-05 19:44:30 +03:00
IRainman
103f22056b Final functions call optimization. 2025-05-05 19:07:55 +03:00
IRainman
8ccb5877bd Merge branch 'main' of https://github.com/IRainman/fast_float 2025-05-05 18:42:42 +03:00
IRainman
8721491941 Finally: after type refactoring is done give compiler opportunity to select best type for performance. 2025-05-05 18:42:32 +03:00
IRainman
58cb366e7e Finally: after type refactoring is done give compiler opportunity to select best type for performance. 2025-05-05 18:21:35 +03:00
IRainman
d67876e2f7 Merge branch 'main' of https://github.com/IRainman/fast_float 2025-04-30 02:22:10 +03:00
IRainman
4e230e8d24 benchmarks are updated. 2025-04-30 02:19:05 +03:00
IRainman
7bd3c54864 benchmarks are updated. 2025-04-30 01:09:29 +03:00
IRainman
c99930b2a0 added additional macro FASTFLOAT_ONLY_ROUNDS_TO_NEAREST_SUPPORTED for performance improve. 2025-04-30 00:56:02 +03:00
IRainman
17ffdffdd9 * additional types cleanup for speedup and reduce cache pressure. 2025-04-12 19:16:25 +03:00
IRainman
0a18d6b329 # format. 2025-04-12 17:17:04 +03:00
IRainman
ba1344c030 * carefully work with types in the library.
* fix for some types errors.
* fix small amount of not optimized code.
* add more comments to the code.
* unified of function binary_format::max_mantissa_fast_path() because it's do the same.
2025-04-12 17:06:38 +03:00
IRainman
69fbbff062 try additional part... 2025-04-12 00:47:18 +03:00
IRainman
b0bae17b10 * added chars_format_t for performance reason. 2025-04-11 23:49:27 +03:00
IRainman
f3db77a07c try reordering again. 2025-04-11 23:21:26 +03:00
IRainman
1aed8ee6dd try reordering again. 2025-04-11 23:10:26 +03:00
IRainman
0daee75dec # format 2025-04-11 22:56:15 +03:00
IRainman
563648f76d * fix errors in the parse_number_string. 2025-04-11 22:52:18 +03:00
IRainman
88b3887b52 benchmark cleanup. 2025-04-11 18:15:54 +03:00
IRainman
e71bfff4a3 additional improve for debug runtime. 2025-04-11 18:05:08 +03:00
IRainman
a4d1174d2e Merge branch 'main' of https://github.com/IRainman/fast_float 2025-04-10 18:46:39 +03:00
IRainman
f8625b6416 fix warnings. 2025-04-10 18:45:05 +03:00
IRainman
68fe735829 fix warnings. 2025-04-10 18:23:01 +03:00
IRainman
6cacae0782 trying to fix tests. 2025-04-10 17:37:09 +03:00
IRainman
8e1fda5d08 fixes and cleanup for the parse_number_string function.
exponent value is always less than in16_t.

original main:
Tests:
 time is: 44278ms.

size of my tests 389.0k
size of my program 164.0k

my main:
Tests:
 time is: 42015ms.

size of my tests 389.0k
size of my program 164.0k

my main with FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN
Tests:
 time is: 41282ms.

size of my tests 386.5k
size of my program 161.5k

After this I'll try it on my partner Linux machine with the original tests and compare much better.
2025-04-10 17:18:08 +03:00
IRainman
2da25b51c8 trying to fix tests. 2025-04-10 00:49:16 +03:00
IRainman
bbf4193339 cleanup code generation for parse_mantissa. 2025-04-09 21:44:30 +03:00
IRainman
c762936589 template interface cleanup for min_safe_u64 and max_digits_u64. 2025-04-09 15:55:54 +03:00
IRainman
d32ae04b1b reduce size of from_chars_result_t to 4 bytes. Cleanup for usage FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN. 2025-04-09 15:41:29 +03:00
IRainman
8d4ca6983a Merge branch 'main' of https://github.com/IRainman/fast_float 2025-04-09 15:28:25 +03:00
IRainman
a081ebe6ce reduce size of from_chars_result_t to 4 bytes. Cleanup for usage FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN. 2025-04-09 15:27:55 +03:00
IRainman
7c96e3a8be reduce size of from_chars_result_t to 4 bytes. Cleanup for usage FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN. 2025-04-09 15:22:10 +03:00