On Tue, Nov 11, 2008 at 11:57:02PM -0800, Carl Mäsak wrote:
> Rakudo r32568:
> 
> $ ./perl6 -e 'my $result = log(0); say "Still alive after getting $result"'
> Still alive after getting -inf

Now fixed in r32574:

    $ ./parrot perl6.pbc -e 'my $result = log(0); say $result;'
    Can't take log of 0
    
    $


Note that instead of throwing an exception immediately, log(0) 
returns a Failure that then throws an exception if it is used.

Pm

Reply via email to