Skip Menu |
Report information
Id: 130153
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: zefram [at]

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)

From: Zefram <zefram [...]>
Date: Wed, 23 Nov 2016 07:32:26 +0000
To: rakudobug [...]
Subject: [BUG] Int**Int yields bogus overflow
Download (untitled) / with headers
text/plain 335b
Show quoted text
> 2e0**-1019
1.78005908680576e-307 Show quoted text
> 2e0**-1020
8.90029543402881e-308 Show quoted text
> 2**-1019
1.78005908680576e-307 Show quoted text
> 2**-1020
Numeric overflow in block <unit> at <unknown file> line 1 The result for 2**-1020 is bogus. The exact value of the operation is representable in the Num type, as was used to represent the result of 2**-1019. -zefram
MoarVM PR fixing this sent:

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at