We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f42c880 commit 600f236Copy full SHA for 600f236
include/fast_float/float_common.h
@@ -336,19 +336,9 @@ template <typename T> struct span {
336
}
337
};
338
339
-struct value128 {
340
- union {
341
- struct {
342
- uint64_t low;
343
- uint64_t high;
344
- };
345
-#ifdef FASTFLOAT_SSE2
346
- __m128i full; // trick for test only
347
-#endif
348
-#ifdef FASTFLOAT_NEON
349
- uint16x8_t full; // trick for test only
350
351
+struct alignas(16) value128 {
+ uint64_t low;
+ uint64_t high;
352
353
constexpr value128(uint64_t _low, uint64_t _high) noexcept
354
: low(_low), high(_high) {}
0 commit comments