# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #130039]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=130039 >


<MARTIMM> Wondering what the highest number is below Inf and lowest above -Inf
<masak> MARTIMM: for the Num type, there's a highest representable
number below Inf
<masak> m: say 1e308
<camelia> rakudo-moar 1c425f: OUTPUT«1e+308␤»
<masak> this is the largest Num below Inf I can get Rakudo to represent.
<geekosaur> 1.7976931348623157081e+308 on x86_64
<geekosaur> (and probably x86)
<masak> I expected it to be something like that, but the cutoff in
Rakudo was at exactly 1.000e308
<masak> maybe some artificial limit has been put in somewhere for safety reasons
<masak> m: say 1.7976931348623157081e200 * 1e108
<camelia> rakudo-moar 1c425f: OUTPUT«1.79769313486232e+308␤»
<masak> a-ha :)
<masak> so Rakudo can represent them, just not with
scientific-notation number literals
<masak> I... would be tempted to call that a bug.
* masak submits rakudobug

Reply via email to