Skip to content

Commit

Permalink
update fast_float to 6.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wojdyr committed Apr 26, 2024
1 parent c33e478 commit 7a17566
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions include/gemmi/third_party/fast_float.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@
#include <type_traits>
#include <system_error>
#ifdef __has_include
// line copied from a PR to fast_float, to avoid warnings
#if __has_include(<stdfloat>) && (__cplusplus > 202002L || _MSVC_LANG > 202002L)
#include <stdfloat>
#endif
Expand Down Expand Up @@ -463,7 +462,7 @@ value128 full_multiplication(uint64_t a, uint64_t b) {
answer.low = a * b;
#elif defined(FASTFLOAT_32BIT) || (defined(_WIN64) && !defined(__clang__))
answer.low = _umul128(a, b, &answer.high); // _umul128 not available on ARM64
#elif defined(FASTFLOAT_64BIT)
#elif defined(FASTFLOAT_64BIT) && defined(__SIZEOF_INT128__)
__uint128_t r = ((__uint128_t)a) * b;
answer.low = uint64_t(r);
answer.high = uint64_t(r >> 64);
Expand Down
2 changes: 1 addition & 1 deletion tools/upstream-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'scikit-build/scikit-build-core': 'v0.8.2',
'taocpp/PEGTL': '2.8.3',
'cxong/tinydir': '1.2.6',
'fastfloat/fast_float': 'v6.1.0',
'fastfloat/fast_float': 'v6.1.1',
'madler/zlib': 'v1.3.1',
'LLNL/shroud': 'v0.13.0',
}
Expand Down

0 comments on commit 7a17566

Please sign in to comment.