Skip to content

Commit

Permalink
Real.Int is now just sugar for Real.truncate.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed May 19, 2010
1 parent ad8556c commit f6374ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Real.pm
Expand Up @@ -6,7 +6,7 @@ role Real does Numeric {
}

method Int() {
self.Bridge.Int;
self.truncate;
}

method Rat(Real $epsilon = 1.0e-6) {
Expand Down

0 comments on commit f6374ad

Please sign in to comment.