You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The implementation of PMComplex >> sqrt was improved in PR #221.
However, this implementation still suffers from potential floating point overflow/underflow.
This is why I suggest something even more robust (and more accurate) like:
Implementing Complex Elementary Function Using Exception Handling
ACM Transactions on Mathematical Software - October 1994
Ping Tang and 3 other authors
Just correct the comment: it does not pick the root with positive imaginary part, but rather the root with positive integer part and same sign bit for imaginary part...
The implementation of
PMComplex >> sqrt
was improved in PR #221.However, this implementation still suffers from potential floating point overflow/underflow.
This is why I suggest something even more robust (and more accurate) like:
Implementing Complex Elementary Function Using Exception Handling
ACM Transactions on Mathematical Software - October 1994
Ping Tang and 3 other authors
See https://source.squeak.org/trunk/Kernel-nice.1459.diff
The text was updated successfully, but these errors were encountered: