-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added the rational-division operator (//) which returns a Math::Big…
…Rat objects Example: say 1//3; # prints: 1/3 The "//=" operator is also available: var x = 12; x //= 42; say x; # prints: 2/7 - Minor optimizations inside the Number object.
- Loading branch information
trizen
committed
Nov 14, 2015
1 parent
dd57db2
commit 2eac143
Showing
3 changed files
with
35 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -299,6 +299,7 @@ package Sidef::Parser { | |
++ -- | ||
+= + | ||
-= - | ||
//= // | ||
/= / ÷= ÷ | ||
**= ** | ||
%= % | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters