Created
April 29, 2016 17:11
-
-
Save ChrisWhealy/51c6f28d27cf0632d7c6f6e6b500bbc9 to your computer and use it in GitHub Desktop.
Mindshift: Part 19, sample 9
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
var DIV = dividend => divisor => | |
NUMBER(NOT(XOR(SIGN(dividend)) | |
(SIGN(divisor)))) | |
(Y(do_div_magnitudes) | |
(ZERO_MAGNITUDE) | |
(PAIR(ABS(dividend))(ABS(divisor)))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment