-
-
Notifications
You must be signed in to change notification settings - Fork 69
Better compare implementatio 10000 ns for numeric tower (autodiff #3.5) #236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## sritchie/diff_three #236 +/- ##
======================================================
Coverage ? 84.16%
======================================================
Files ? 79
Lines ? 8098
Branches ? 441
======================================================
Hits ? 6816
Misses ? 841
Partials ? 441 Continue to review full report at Codecov.
|
@littleredcomputer , merging this and a few of the less-brainy ones to drain the queue a bit. |
The autodiff PRs exposed some weaknesses with our ability to compare numbers to each other in Clojurescript. I caught some of this stuff after I realized that by using
sg/real
I would flex a lot of the cross-type comparisons.I also discovered
valueOf
in Javascript, which allows us to compare, say, a wrappedDifferential
orExpression
instance (holding a number) with a native number, using the native comparison operators!!