UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::Spline::Internal Namespace Reference

Functions

uint32 FloatToBits (float f)
 
float BitsToFloat (uint32 u)
 
uint32 ToOrdered (float f)
 
float FromOrdered (uint32 ordered)
 
float NextafterNoSubnormal (float from, bool bStepRight)
 
float NormalizeZeroForKey (float v)
 

Function Documentation

◆ BitsToFloat()

float UE::Geometry::Spline::Internal::BitsToFloat ( uint32  u)
inline

◆ FloatToBits()

uint32 UE::Geometry::Spline::Internal::FloatToBits ( float  f)
inline

◆ FromOrdered()

float UE::Geometry::Spline::Internal::FromOrdered ( uint32  ordered)
inline

◆ NextafterNoSubnormal()

float UE::Geometry::Spline::Internal::NextafterNoSubnormal ( float  from,
bool  bStepRight 
)
inline

Adjacent representable normal-or-better float (FTZ-proof). Skips subnormals (snaps to ±FLT_MIN) and saturates at ±FLT_MAX.

◆ NormalizeZeroForKey()

float UE::Geometry::Spline::Internal::NormalizeZeroForKey ( float  v)
inline

Normalize -0.0f to +0.0f for use as a key (avoids phantom duplicates).

◆ ToOrdered()

uint32 UE::Geometry::Spline::Internal::ToOrdered ( float  f)
inline