> Several of the results surprised me. Did they surprise you?
Well, the perl6 result surprised me, since that means it's using something more precise than double precision floating point :)
Well, the perl6 result surprised me, since that means it's using something more precise than double precision floating point :)
$ perl6 --version
This is Rakudo version 2018.03 built on MoarVM version 2018.03
implementing Perl 6.c.
$ perl6 -e 'print 9999999999999999.0-9999999999999998.0;print "\n";'
2
$
(Incidentally, I would have used "say" rather than "print" with an explicit newline.) › perl6 -e '.say for $*PERL.compiler, 9999999999999999.0-9999999999999998.0'
rakudo (2018.11)
1 https://github.com/rakudo/rakudo/commit/fec1bd74f97e257d4c88673cd62fdcae39f587a3