Skip to content

shz_tgammaf

Markdown
SHZ_INLINE float shz_tgammaf(float x) SHZ_NOEXCEPT;

Fast approximation for C's tgammaf().

NameTypeDescription
xfloat

float

  • Relative error stays within about 20% for x below about 7.8, and grows with x beyond that, since it amplifies the absolute error of shz_lgammaf().