# New Ticket Created by  Moritz Lenz 
# Please include the string:  [perl #59308]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=59308 >


As of today (and r31404) Rakudo's 'make spectest_regression' produces
compile time errors in three files, all of which are related to integer
overflow.

To reproduce:
$ cd languages/perl6
$ make spectest_regression
$ ../../parrot perl6.pbc t/spec/S03-operators/arith.rakudo
add_1_const:Integer overflow '2147483648'
current instr.: 'parrot;PCT::HLLCompiler;evalpmc' pc 744
(src/PCT/HLLCompiler.pir:448)
called from Sub 'parrot;PCT::HLLCompiler;compile' pc 438
(src/PCT/HLLCompiler.pir:303)
[...]

I suspect it might be this commit:

r31402 | chromatic | 2008-09-25 07:30:31 +0200 (Thu, 25 Sep 2008) | 7 lines

[src] Expanded float precision to 15 digits from 6.  One side effect is that
float output no longer always has six digits after the dot; this drops
trailing
zeroes.  Most of the changes are to tests which expected specific output
formats.

The sprintf format %.15g should be portable, but watch the smokes.  See RT
#59006, reported by Patrick Michaud.

Cheers,
Moritz

-- 
Moritz Lenz
http://moritz.faui2k3.org/ |  http://perl-6.de/

Reply via email to