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


Rakudo r32568:

$ ./perl6 -e 'my $result = log(0); say "Still alive after getting $result"'
Still alive after getting -inf

S29:

=item log

 our Num multi method log ( Num $x: Num :$base = Num::e ) is export

Logarithm of base C<$base>, default Natural. Calling with C<$x == 0> is an
error.

(Since log is periodic along the imaginary axis, an error should
perhaps be thrown for other complex values as well, provided that
enough precision can be achieved to make this a problem.)

Reply via email to