in reply to Re^5: Euler's identity in Raku
in thread Euler's identity in Raku
sooooo You are plumbing the edges of IEEE754 here ... and very small numbers are subject to all kinds of influences ... here is a good write up ...https://randomascii.wordpress.com/2013/07/16/floating-point-determinism/ Back in the day many FPUs did random seed guess for division/sqrt ... even if that practice has become standardised to make the result deterministic (every pass is the same), it certainly will not require each FPU design to guess the same seed. And this ignores the fact that FPU designers will often shortcut full IEEE754 to save on transistors, various compiler settings. Not to rule out frequent chip logic design errors that do not get caught since the test sw will judge any of the near '0' as zero.> my $t=sqrt(2) 1.4142135623730951 > $t ** 2 2.0000000000000004
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Euler's identity in Raku
by syphilis (Archbishop) on Jun 08, 2021 at 01:32 UTC |