diff options
author | Ludovic Courtès <ludo@gnu.org> | 2009-04-23 23:20:59 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2009-05-21 00:12:04 +0200 |
commit | e2e85d14065d0ec417570bf398dc19ab87ff366f (patch) | |
tree | 49108f409bd7364b71dbb64b2c707aa947889633 /lib/putenv.c | |
parent | 66818dbb710c83730310c15088f1784d61158f04 (diff) | |
download | guile-e2e85d14065d0ec417570bf398dc19ab87ff366f.tar.gz |
Don't use raw divisions by zero in `test-conversion.c'.
* test-suite/standalone/test-conversion.c (ieee_init): New function.
(guile_Inf, guile_NaN): New variables.
(test_from_double, test_to_double): Use them. Divisions by zero made
`cc' on Tru64 5.1b ("Compaq C V6.5-011") bail out and led to a
floating point exception when compiled with GCC on the same platform.
(main): Call `ieee_init ()'.
Diffstat (limited to 'lib/putenv.c')
0 files changed, 0 insertions, 0 deletions