13 Aug
2022
13 Aug
'22
12:48 a.m.
Hallo,
can you improve numeric_cast
1) constexpr
2) vectorisable
The problem is that the compilers on x86 without hardware support (AVX512DQ) do not vectorize the conversions u/int64_t -> float64/32_t. This may also apply to other architectures. But that can be solved manually. My patch requires C++20 (std::bit_cast), but you can probably work around that. Modifications:
- add #include
834
Age (days ago)
836
Last active (days ago)
1 comments
2 participants
participants (2)
-
Gavin Lambert
-
Gero Peterhoff