MCPcopy Create free account
hub / github.com/LizardByte/Sunshine / from_clamped_netfloat

Function from_clamped_netfloat

src/input.cpp:152–154  ·  view source on GitHub ↗

* @brief Convert a little-endian netfloat to a native float and clamp it to a range. * @param f Little-endian network float bytes. * @param min The minimium value for clamping. * @param max The maximum value for clamping. * @return Decoded floating-point value clamped between min and max. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

passthroughFunction · 0.85

Calls 2

clampFunction · 0.85
from_netfloatFunction · 0.85

Tested by

no test coverage detected