MCPcopy Create free account
hub / github.com/JibbSmart/JoyShockMapper / filterFloat

Function filterFloat

JoyShockMapper/src/main.cpp:2541–2545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2539}
2540
2541float filterFloat(float current, float next)
2542{
2543 // Exclude Infinite, NaN and Subnormal
2544 return fpclassify(next) == FP_NORMAL || fpclassify(next) == FP_ZERO ? next : current;
2545}
2546
2547FloatXY filterFloatPair(FloatXY current, FloatXY next)
2548{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected