Works on ubuntu 14.04 x86_64 :
jon@zog:/tmp$ uname -a
Linux zog 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64
x86_64 x86_64 GNU/Linux
jon@zog:/tmp$ lsb_release -a
LSB Version: [...snip...]
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
jon@zog:/tmp$ apt-cache policy libc6
libc6:
Installed: 2.19-0ubuntu6.7
jon@zog:/tmp$ gcc fp.c -O0 -fno-builtin-pow -lm
jon@zog:/tmp$ ./a.out
0.000000
exceptions:
inexact
underflow
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/429113
Title:
libm pow() function does not report floating point underflow exception
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/429113/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs