Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix Num.new

  • Loading branch information...
commit 30c82c76c3c7ab7eee932fac3a3cb1435b9cfb44 1 parent 9a89c8e
@jnthn jnthn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/core/Num.pm
View
2  src/core/Num.pm
@@ -19,7 +19,7 @@ my class Num does Real {
nqp::fromnum_I(nqp::unbox_n(self), Int);
}
- multi method new() { nqp::box_n(0, self) }
+ multi method new() { nqp::box_n(0e0, self) }
multi method new($n) { nqp::box_n($n.Num, self) }
multi method perl(Num:D:) {
Please sign in to comment.
Something went wrong with that request. Please try again.