Mail Archives: djgpp/1996/03/06/09:19:28
On Tue, 5 Mar 1996, Erik Luijten wrote:
> disturbed me. Therefore I have compiled paranoia (from netlib), to see whether
> this program reveals some problems. Well, I have compiled it without
> optimization (the program completely choked when I tried -O2, why?)
Any program that tries to reveal numerical intricacies of a machine or a
library MUST be compiled without optimizations, or else the results will
depend on the compiler make and version and the optimizations every
switch enables. I think the docs for paranoia explicitly tell you to
disable optimizations.
> paranoia said the following:
>
> No chopping nor rounding on * / + - sqrt: sticky bit incorrectly used or not
> used at all.
Was that with or without -lm? Does the above result depend on whether
you use -lm?
- Raw text -