ROCm / ROCm-Device-Libs

ROCm Device Libraries
97 stars 60 forks source link

tgammaf becomes inf for tiny values of its argument #74

Closed VinInn closed 1 year ago

VinInn commented 3 years ago

tgammaf returns inf for |x|<= 0x1.fffffcp-127. This is the largest float for which x*x=0; Other libraries return a value equal to 1/x (8.50706e+37)

b-sumner commented 3 years ago

Thanks, we'll take a look.

b-sumner commented 1 year ago

This has been fixed.