native 0.0.1
Vectors, masks and wide register packs for C++26
Loading...
Searching...
No Matches
JSCVT
Collaboration diagram for JSCVT:

Functions

template<isa< arm > Arch = NATIVE_BASELINE>
requires (Arch.has(arm_feature::jsconv))
constexpr std::int32_t native::jcvt (double value) noexcept
 Convert a double using FJCVTZS; requires the jsconv feature and matching compiler target.

Detailed Description

Convert binary64 to a signed word by truncating and reducing modulo 2^32. NaNs, infinities and signed zeros convert to zero. Runtime calls use the current floating-point environment; constant evaluation has no FP effects.