BrowserUk has asked for the wisdom of the Perl Monks concerning the following question:
UPDATE: Never mind. Fixed it.
Why does this IC code produce different output each time given the same input?
Results of consequestive runs:
0001010010001001000101011011101111110100101111010001001110111100 0.0000000000450000 mantissa:2403864 exponent:-875 sign:0 C:\test\mandlebrot>F128.pl 0001010010001001000101011011101111110100101111010001001110111100 0.0000000000450000 mantissa:2141720 exponent:-875 sign:0 C:\test\mandlebrot>F128.pl 0001010010001001000101011011101111110100101111010001001110111100 0.0000000000450000 mantissa:1093144 exponent:-875 sign:0 C:\test\mandlebrot>F128.pl 0001010010001001000101011011101111110100101111010001001110111100 0.0000000000450000 mantissa:2338328 exponent:-875 sign:0
The double passed doesn't change; the binary dumped via the union's U64 doesn't change; but somehow the value of the mantissa field varies?? Why gives?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: IC problem.[Solved, (feel free to reap)]
by cavac (Prior) on Jun 12, 2015 at 11:54 UTC | |
by BrowserUk (Patriarch) on Jun 12, 2015 at 12:08 UTC | |
by cavac (Prior) on Jun 12, 2015 at 12:58 UTC | |
by BrowserUk (Patriarch) on Jun 12, 2015 at 14:04 UTC | |
by cavac (Prior) on Jun 12, 2015 at 14:11 UTC | |
|