-
-
Notifications
You must be signed in to change notification settings - Fork 706
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
std.complex: Add complex exp(), log(), log10(), and pow() #7456
Conversation
|
Thanks for your pull request, @ibuclaw! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + phobos#7456" |
84eaf53 to
5eb6608
Compare
|
Looks like tests are failing because std.complex doesn't have any template constraints for all it's functions. Apparently indirect constraints aren't enough ( |
|
Actually, I can't reproduce with what I thought would be a reduced test, so must be a bug in partial then (I get the same error when replacing |
4b2a457 to
b462989
Compare
c88fb76 to
32b53e2
Compare
|
Still WIP are:
Best for another PR...
|
d95e38b to
c13a369
Compare
3b525c3 to
a5c1b04
Compare
f37f6ee to
82ea573
Compare
|
@thewilsonator - green after changing a few more tests from These are a little tedious to write out, would it make sense to add an |
Or better yet, to |
|
Excellent, I better update all my tests then. :-) |
There's a problem in partial where it can't deal with a symbol found in multiple modules
That can wait for a follow-up PR anyhow, as most tests are isClose, but some only pass with approxEqual. |
|
@thewilsonator - anything left here? |
Pushing out initial implementation. Unittest incoming...