TerraForge3D
2.3.1
3D Terrain And Landscape Generator
◆
normalize_to()
static
diyfp
nlohmann::detail::dtoa_impl::diyfp::normalize_to
(
const
diyfp
&
x
,
const int
target_exponent
)
inline
static
noexcept
normalize x such that the result has the exponent E
Precondition
e >= x.e and the upper e - x.e bits of x.f must be zero.
Definition at line
15686
of file
json.hpp
.
15687
{
15688
const
int
delta = x.e - target_exponent;
15689
JSON_ASSERT(delta >= 0);
15690
JSON_ASSERT(((x.f << delta) >> delta) == x.f);
15691
return
{x.f << delta, target_exponent};
15692
}
nlohmann
detail
dtoa_impl
diyfp
Generated on Thu Apr 7 2022 14:11:04 for TerraForge3D by
1.9.3