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


Rakudo as of r28105 suffers from low precision in its exp() function.
rakudo:

> say exp(5) - 148.4131591025766
0.000159103

perl -wle 'print exp(5) - 148.4131591025766'
0

Mathematica agrees with perl 5:
In[1] := N[Exp[5], 20]
Out[1] = 148.41315910257660342

This makes one test fail in t/spec/S29-num/exp.t

I don't know if that's a parrot or a rakudo bug, so please forward if
necessary.

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

Reply via email to