I think I've found a bug some how there is no power that you can raise 0 to and get 23 or any number, except 0

$ perl6 -e "say log(23, 0);"
-0


shouldn't it be NaN


$ perl6 --version
This is Rakudo version 2016.10-17-g200364a built on MoarVM version 2016.10-15-g715e39a
implementing Perl 6.c.


--

   .~.     In my life God comes first....
   /V\         but Linux is pretty high after that :-D
  /( )\    Francis (Grizzly) Smit
  ^^-^^    http://www.smit.id.au/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GM/CS/H/P/S/IT/L d- s+:+ a++ C++++ UL++++$ P+++ L+++$ E--- W+++
N w--- M-- V-- PE- PGP t+ 5-- X-- R- tv b++++ DI(+) D-
G e++ h+ y? r% z---
------END GEEK CODE BLOCK------
http://www.geekcode.com/

Reply via email to