Skip to content

Commit

Permalink
Workaround for windows toolchain bug (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen authored Jan 25, 2024
1 parent 4e1d6f2 commit 67f7013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/fast_float/fast_float.h
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ fastfloat_really_inline uint64_t _umul128(uint64_t ab, uint64_t cd,
fastfloat_really_inline value128 full_multiplication(uint64_t a,
uint64_t b) {
value128 answer;
#ifdef _M_ARM64
#if defined(_M_ARM64) && !defined(_WIN32)
// ARM64 has native support for 64-bit multiplications, no need to emulate
answer.high = __umulh(a, b);
answer.low = a * b;
Expand Down

0 comments on commit 67f7013

Please sign in to comment.