Use setexception to raise the inexact exception for tanh.
Note that original code didn't actually signal inexact probably because the compiler constant-folded one - tiny to one.
Loading
Please register or sign in to comment
Note that original code didn't actually signal inexact probably because the compiler constant-folded one - tiny to one.