511 Commits

Author SHA1 Message Date
Daniel Lemire
95321767ee More verbose error report. 2022-11-16 12:29:46 -05:00
Daniel Lemire
2c8e738950 Cleaning. 2022-11-16 12:06:33 -05:00
Daniel Lemire
6ceb29a7e4 We might reenable clinger. 2022-11-16 16:21:34 +00:00
Daniel Lemire
dac641ee13 Preparing release v3.7.0 2022-11-15 12:07:56 -05:00
Daniel Lemire
eddf6dff43
Merge pull request #152 from fastfloat/dlemire/reducing_eight_digit_optimization
Trimming out one eight-digit optimization.
2022-11-15 12:06:40 -05:00
Daniel Lemire
6484c73696 Trimming out one eight-digit optimization. 2022-11-15 11:38:06 -05:00
Daniel Lemire
662497742f
Merge pull request #150 from fastfloat/dlemire/simplified_clinger
Simplified Clinger's fast path for increased portability
v3.6.0
2022-11-03 19:52:17 -04:00
Daniel Lemire
a2cf502395 Typo. 2022-11-03 19:41:30 -04:00
Daniel Lemire
3e29bf78c7 Nicer constants. 2022-11-03 19:40:05 -04:00
Daniel Lemire
e958ff4269 Simplified clinger. 2022-11-03 18:51:37 -04:00
Daniel Lemire
c56e595438
Update README.md 2022-11-02 12:40:09 -04:00
Daniel Lemire
c7286b8ad1
Merge pull request #143 from OlivierLDff/floatfloat-install
🔨 Introduce FASTFLOAT_INSTALL to make install optional
2022-11-02 10:14:57 -04:00
Daniel Lemire
7396b0f8fa
Merge pull request #144 from OlivierLDff/cxx-standard
🔨 Don't write to global CMAKE_CXX_STANDARD
2022-11-02 10:14:25 -04:00
Daniel Lemire
32a659e033
Merge pull request #147 from kou/mingw
Don't use __umulh() with MinGW on ARM64
2022-10-28 09:36:15 -04:00
Sutou Kouhei
5a71e5bc40 Don't use __umulh() with MinGW on ARM64 2022-10-28 15:33:37 +09:00
Daniel Lemire
b4d7cceb93 Added a couple of tests. 2022-10-02 11:09:08 -04:00
Daniel Lemire
e71137f71c
Merge pull request #141 from striezel-stash/gh-action-update
update actions/checkout in GitHub Actions to v3
2022-09-26 09:55:25 -04:00
Daniel Lemire
f1c69acec4
Merge pull request #145 from OlivierLDff/alias
🔨 add library ALIAS FastFloat::fast_float
2022-09-26 09:53:50 -04:00
Olivier Le Doeuff
ab406c7c0b 🔨 add library ALIAS FastFloat::fast_float
This give same target name if library is found with find_package, or added via add_subdirectory
2022-09-26 11:56:07 +02:00
Olivier Le Doeuff
696f5299f0 🔨 Don't write to global CMAKE_CXX_STANDARD
Instead use modern target_compile_features with cxx_std_11
2022-09-26 11:55:45 +02:00
Olivier Le Doeuff
3c1190cd85 🔨 Introduce FASTFLOAT_INSTALL to make install optional
When using fast_float as a PRIVATE dependency, it is not required to install it.
This flag give user using fastfloat with add_subdirectory the opportunity to disable install target
Default behavior is conserved since FASTFLOAT_INSTALL is ON
2022-09-26 11:54:03 +02:00
Daniel Lemire
bc3be12530
Merge pull request #140 from striezel-stash/fix-typos
Fix some typos
2022-08-31 10:29:48 -04:00
Dirk Stolle
3aaf22e14d update actions/checkout in GitHub Actions to v3 2022-08-30 23:03:10 +02:00
Dirk Stolle
3fddb89508 Fix some typos 2022-08-30 22:55:34 +02:00
Daniel Lemire
d4dd12f8cf
Update README.md 2022-08-12 11:36:35 -04:00
Daniel Lemire
6876616f0f
Update float_common.h v3.5.1 2022-08-04 15:05:22 -04:00
Daniel Lemire
ac81b01696
Added __EMSCRIPTEN__ patch v3.5.0 2022-08-04 13:58:48 -04:00
Daniel Lemire
a332ec1ca7 Saving. 2022-07-29 11:54:19 -04:00
Daniel Lemire
d7c1dbc889 Merge branch 'main' of github.com:fastfloat/fast_float 2022-07-29 11:42:31 -04:00
Daniel Lemire
d797a3a05d Adding example. 2022-07-29 11:42:20 -04:00
Daniel Lemire
6283cf76c5
Merge pull request #126 from fargies/main
python: set file encoding
2022-07-29 11:15:21 -04:00
Daniel Lemire
cfb44c2592
Update README.md 2022-06-29 14:05:21 -04:00
Daniel Lemire
f2082bf747
Update README.md 2022-03-31 10:18:12 -04:00
Daniel Lemire
8e53c41385
Merge pull request #130 from fastfloat/dlemire/dropping2016
Dropping Windows 2016.
2022-03-19 07:59:25 -04:00
Daniel Lemire
7a17c54269 Dropping it. 2022-03-19 00:29:57 -04:00
Daniel Lemire
708224bc3e Dropping Windows 2016. 2022-03-19 00:28:06 -04:00
Daniel Lemire
b467215b4d
Update README.md 2022-03-19 00:14:13 -04:00
Daniel Lemire
090e500618
Merge pull request #129 from xvitaly/fix-arch
Export CMake targets as architecture independent
2022-03-09 17:40:20 -05:00
Vitaly Zaitsev
5738f18952
Export CMake targets as architecture independent.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2022-03-05 16:05:28 +01:00
Daniel Lemire
ebfbea4f07
Merge pull request #127 from xvitaly/fix-installation
Fixed installation on other than Ubuntu GNU/Linux distributions
2022-03-03 09:41:18 -05:00
Vitaly Zaitsev
17bcdcef02
Fixed installation on other than Ubuntu GNU/Linux distributions.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2022-03-03 10:12:55 +01:00
Fargier Sylvain
78edcbb9e2 python: set file encoding
- on some containers LC_ALL is not set, python fallsback on ascii
  encoder, which fails on AUTHORS file
2022-03-03 08:27:21 +01:00
Daniel Lemire
632cf9b8c8
Merge pull request #128 from fastfloat/dlemire/upgradevs17
Trying to upgrade to vs17
2022-03-02 22:46:07 -05:00
Daniel Lemire
ca9be545c3 Trying to upgrade to vs17 2022-03-02 22:39:54 -05:00
Daniel Lemire
32d21dcecb
Merge pull request #122 from jwakely/patch-1
Fix deduction failure for std::min call
2022-01-18 14:30:38 -05:00
Daniel Lemire
d3b164eb52
Merge pull request #123 from jwakely/endian
Make endianness detection more portable
2022-01-18 14:29:42 -05:00
Jonathan Wakely
61f4840188 Make endianness detection more portable
The current check for endianness fails on platforms using newlib as the
C library, because it provides <machine/endian.h> not <endian.h>. This
could be fixed by adding `|| defined(__NEWLIB__)` to the check for
targets that provide <machine/endian.h> (i.e. BSD-like targets).

A more portable solution is to just check if the compiler has already
defined the necessary macros (which is true for GCC and Clang and Intel,
at least). Then no header is needed, and it works for platforms that
aren't explicitly listed in the conditionals.
2022-01-18 10:17:01 +00:00
Jonathan Wakely
1ccabed64c Fix deduction failure for std::min call
This assumes that the literal `64` of type `int` has the same type as
the `int32_t` typedef, which is never true for targets with 16-bit
`int`, and isn't guaranteed to be true even with 32-bit `int`.
2022-01-18 10:12:57 +00:00
Daniel Lemire
b15abc9238
Update README.md 2022-01-16 21:04:50 -05:00
Daniel Lemire
b7f9d6ca39 Version 3.4.0 v3.4.0 2021-11-30 15:53:33 -05:00