Skip to content

feature/format: Merge toolset update - #1469

Merged
Stephan T. Lavavej (StephanTLavavej) merged 39 commits into
feature/formatfrom
master
Nov 14, 2020
Merged

feature/format: Merge toolset update#1469
Stephan T. Lavavej (StephanTLavavej) merged 39 commits into
feature/formatfrom
master

Conversation

@StephanTLavavej

Copy link
Copy Markdown
Member

Picks up #1451.

⚠️ Commit this as a merge, not a squash! ⚠️

Co-authored-by: Curtis Bezault <cubezaul@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Co-authored-by: Casey Carter <cartec69@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Co-authored-by: Casey Carter <cartec69@gmail.com>
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Co-authored-by: Casey Carter <cartec69@gmail.com>
Partially addresses #39.

Co-authored-by: Adam Bucior <35536269+AdamBucior@users.noreply.github.com>
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Co-authored-by: mnatsuhara <46756417+mnatsuhara@users.noreply.github.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: S. B. Tam <cpplearner@outlook.com>
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Co-authored-by: Casey Carter <cartec69@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
* Fix undue overflow and underflow in complex sqrt

Modifies the scale factors in `_Fabs` (used by `sqrt`) such that:

- `_Fabs` doesn't underflow when the input is tiny.

- `sqrt` doesn't overflow when the input is huge.

* Improve accuracy of `log` when |z| is close to 1

When |z| is close to 1, compute log(|z|) as log1p(norm_minus_1(z)) / 2,
where norm_minus_1(z) = real(z) ^ 2 + imag(z) ^ 2 - 1 computed with
double width arithmetic to avoid catastrophic cancellation.

* Fix log(complex{1, tiny}) incorrectly returning -0 under FE_DOWNWARD

Co-authored-by: Curtis J Bezault <curtbezault@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
@StephanTLavavej Stephan T. Lavavej (StephanTLavavej) added infrastructure Related to repository automation uncharted Excluded from the Status Chart labels Nov 13, 2020
@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) merged commit 8ea4749 into feature/format Nov 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Related to repository automation uncharted Excluded from the Status Chart

Projects

None yet

Development

Successfully merging this pull request may close these issues.