TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ normalize()

static diyfp nlohmann::detail::dtoa_impl::diyfp::normalize ( diyfp  x)
inlinestaticnoexcept

normalize x such that the significand is >= 2^(q-1)

Precondition
x.f != 0

Definition at line 15669 of file json.hpp.

15670 {
15671 JSON_ASSERT(x.f != 0);
15672
15673 while ((x.f >> 63u) == 0)
15674 {
15675 x.f <<= 1u;
15676 x.e--;
15677 }
15678
15679 return x;
15680 }