p.van-hoof@qub.ac.uk

Is the AMD LibM replacement safe to use in a program that traps FP exceptions?

Discussion created by p.van-hoof@qub.ac.uk on Dec 5, 2011
Latest reply on Dec 6, 2011 by kalyanjk

We develop a code that traps FP exceptions. We are currently experiencing problems with the standard math library that ships with Fedora16 since that generates spurious FP exceptions. We are now looking for a replacement and we wonder if the AMD LibM library would fit that bill. So our question is if the AMD LibM library is safe to use in a program that traps FP exceptions, or does it use optimizations that implicitly assume that FP exceptions are not trapped? Thanks for the help!

Outcomes