[Ecls-list] Question about FPE underflow and PRINT.SHORT-FLOAT.RANDOM test

Goffioul Michael goffioul at imec.be
Tue Oct 25 06:39:19 UTC 2005


While running the ANSI tests suite, I noticed that the PRINT.SHORT-FLOAT.RANDOM
test failed. When anaylizing this, it appears that the code execute something
like (random least-positive-short-float), which can only produce a FPE_UNDERFLOW
as the generated float will be smaller than least-positive-short-float and assigned
to a short-float object. However, the test code only expects ARITHMETIC-ERROR.

How is this supposed to work?

Michael.




More information about the ecl-devel mailing list