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


Folks,

Rakudo needs to add one more digit for each Num it stringifies.

  % perl6 -e 'pi.say'
  3.14159265358979
  % ruby -e 'puts Math::PI'
  3.141592653589793

As a result…

  % perl6
  > 3.14159265358979 == pi
  False
  > 3.141592653589793 == pi
  True

I consider this more severe than perl5 because:

  > ::('&EVAL')(pi.perl) == pi
  False

FYI perl5 has the same problem.

  https://rt.perl.org/Public/Bug/Display.html?id=127182

Please also consider adding hexadecimal floating point notation support (and 
make .perl happier).

Yours,

Dan the Bit-Picking Rakudo Monger

Attachment: signature.asc
Description: PGP signature

Reply via email to