diff options
author | kargl <kargl@FreeBSD.org> | 2014-09-01 18:57:13 +0000 |
---|---|---|
committer | kargl <kargl@FreeBSD.org> | 2014-09-01 18:57:13 +0000 |
commit | 5bc23acdd22e6981a51a17e96d6102b6597fdae5 (patch) | |
tree | 5e64d62d8933e8a88fe7ebde51c2258b4a7138f0 /lib/libugidfw | |
parent | b149a9e7aec5e222b7dba23fdebc5717058e1c33 (diff) | |
download | FreeBSD-src-5bc23acdd22e6981a51a17e96d6102b6597fdae5.zip FreeBSD-src-5bc23acdd22e6981a51a17e96d6102b6597fdae5.tar.gz |
According to the ISO C standard, lgamma(-integer) returns
inf and raises the divided-by-zero exception. Compilers
constant fold one/zero to inf but do not raise the exception.
Introduce a volatile vzero to prevent the constant folding.
Move the declaration of zero into the main declaration block.
While here, fix a nearby disordering of 'lx,ix'
Discussed with: bde
Diffstat (limited to 'lib/libugidfw')
0 files changed, 0 insertions, 0 deletions