-
-
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.
- Implemented natively the plane angle conversion functions (such as rad2deg, deg2grad, etc...) - Number.pi() and other constants will compute the value only once and will remember it when it's called again, therefore, Num.pi() is fast even when it's used as a method. - Added the Number.tau() constant. - PI and some other Math constats, are now available by they symbols. Example: say Math::π # prints: 3.14159... say Math::Φ # prints: 1.61803... say Math::τ # prints: 6.28318...
- Loading branch information
trizen
committed
Dec 28, 2015
1 parent
bd8c1da
commit d67be5d
Showing
5 changed files
with
168 additions
and
114 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
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
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