-
-
Notifications
You must be signed in to change notification settings - Fork 412
Parse ℯ^x as exp(x) instead of 2.718281828459045^x
#4101
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
Signed-off-by: Klamkin, Michael <mklamkin3@gatech.edu>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4101 +/- ##
=======================================
Coverage 99.83% 99.83%
=======================================
Files 43 43
Lines 5910 5915 +5
=======================================
+ Hits 5900 5905 +5
Misses 10 10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
odow
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there any other methods like this that might cause similar troubles?
Not that I've run into |
First, happy new year! 🍾 Wishing you all the best in 2026 😄
This PR adds a special case for
^where the LHS isℯ(\euler) and the RHS is anAbstractJuMPScalar. It avoids a conversion fromIrrational{:ℯ}toFloat64. jump-dev/MathOptInterface.jl#2776 is sort of related.Before this PR:
After this PR: