benilla-re systems structs docs

StepGreaterEqual

function · cmath · unreached

Address
0x456510 · 36 bytes, up to 0x456533
Signature
float __stdcall (float a, float b)
Meaning
Returns 1.0 when a is at least b and 0.0 otherwise
Confidence
verified, proof two
Finding
cmath/scalars#shaping-functions

Finding: Shaping functions in cmath: scalars

0x456510(a, b) returns 1.0 when a ≥ b and 0.0 otherwise. 0x456540(x, lo, hi) is the difference of two of them, 1.0 inside [lo, hi). 0x456570(x, lo, hi) is (x − lo)/(hi − lo) clamped into [0, 1], a NaN giving 1.0. 0x4565c0 is the smooth step: 0.0 below lo, 1.0 at or above hi, else t²·(3 − 2t) for that t. 0x456620(a, b) is the C runtime's pow(a, b) (__CIpow, 0x73f940), 0x456640 is pow(a, 1/b), 0x456660(x, b) is pow(x, −log2(b)) through the fast logarithm 0x454c80, and 0x4566a0(x, g) is the gain built from it: 0.5·bias(2x, 1 − g) for x < 0.5 and 1 − 0.5·bias(2 − 2x, 1 − g) otherwise.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.