ROCm-Device-Libs icon indicating copy to clipboard operation
ROCm-Device-Libs copied to clipboard

tgammaf becomes inf for tiny values of its argument

Open VinInn opened this issue 4 years ago • 1 comments

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)

VinInn avatar Sep 10 '21 09:09 VinInn

Thanks, we'll take a look.

b-sumner avatar Sep 10 '21 14:09 b-sumner

This has been fixed.

b-sumner avatar Mar 28 '23 01:03 b-sumner