in reply to PDL and srand puzzle
Why the inconsistency ?D:\>perl -wle "print sqrt(2);print main::sqrt(2); print CORE::sqrt(2); +sub sqrt { return sprintf('%.6g', $_[0] ** 0.5) }" 1.4142135623731 1.41421 1.4142135623731
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: PDL and srand puzzle
by sectokia (Friar) on Jun 05, 2024 at 05:50 UTC | |
by syphilis (Archbishop) on Jun 05, 2024 at 08:10 UTC | |
by sectokia (Friar) on Jun 06, 2024 at 00:40 UTC | |
by syphilis (Archbishop) on Jun 06, 2024 at 02:31 UTC | |
|
Re^2: PDL and srand puzzle
by haj (Vicar) on Jun 05, 2024 at 06:59 UTC | |
by syphilis (Archbishop) on Jun 05, 2024 at 07:49 UTC |