Created
December 10, 2016 20:42
-
-
Save oliverbooth/4d7c61479d0dfd22c6f0cec717b5229d to your computer and use it in GitHub Desktop.
This seems to work...
This file contains hidden or 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
| /* | |
| * return the number of zeros immediately proceeding the decimal point for any | |
| * (-1 < n < 1) | |
| */ | |
| floor(abs(log10(abs(n)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment