Skip to main content

Module fast_math

Module fast_math 

Source

Functions§

fast_exp
Fast exp(x) — platform-selected.
fast_exp_lut
Fast exp(x) using LUT + linear interpolation.
fast_powf_unit
Fast approximation of x^exponent for x ∈ [0, 1] and exponent ∈ (0, 2).
fast_tanh
Fast tanh(x) — platform-selected.
fast_tanh_lut
Fast tanh(x) using LUT + linear interpolation.