Skip to content

shz_invf

Markdown
SHZ_INLINE float shz_invf(float x) SHZ_NOEXCEPT;

Takes the inverse of x using a slighty faster approximation than doing a full division, safely handling negative values.

NameTypeDescription
xfloat

float