Skip to content

Commit 4b482fd

Browse files
committed
Removed unused minuszero constant
1 parent fdd5cad commit 4b482fd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

include/xsimd/arch/xsimd_constants.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ namespace xsimd
5656
return bit_cast<double>((uint64_t)DOUBLE); \
5757
}
5858

59-
// Under fast-math, GCC might replace minus zero by zero
60-
// minuszero wouldn't be patched, but this works for signmask
59+
// Under fast-math, GCC might signmask (minus zero) by zero
6160
#if defined(__FAST_MATH__) && defined(__GNUC__) && !defined(__clang__)
6261
#pragma GCC push_options
6362
#pragma GCC optimize("signed-zeros")
@@ -85,7 +84,6 @@ namespace xsimd
8584
XSIMD_DEFINE_CONSTANT(minlog2, -127.0f, -1023.)
8685
XSIMD_DEFINE_CONSTANT(minlog10, -37.89999771118164f, -308.2547155599167)
8786
XSIMD_DEFINE_CONSTANT(minusinfinity, (-infinity<float>()), (-infinity<double>()))
88-
XSIMD_DEFINE_CONSTANT(minuszero, -0.0f, -0.0)
8987
XSIMD_DEFINE_CONSTANT_HEX(nan, 0xffffffff, 0xffffffffffffffff)
9088
XSIMD_DEFINE_CONSTANT_HEX(oneosqrteps, 0x453504f3, 0x4190000000000000)
9189
XSIMD_DEFINE_CONSTANT_HEX(oneotwoeps, 0x4a800000, 0x4320000000000000)

0 commit comments

Comments
 (0)