Created
March 1, 2019 15:47
-
-
Save davidcostadev/eca9d9997457e5ab0cfc80c8e3d13279 to your computer and use it in GitHub Desktop.
Fast Math Javascript
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
const mdc = (a, b) => b === 0 ? a : mdc(b, a % b) | |
const mmc = (a, b) => a * b / mdc(a, b) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment