Skip to content

Fix: NR iteration for exponentials should handle negatives correctly - #78

Merged
IsaMorphic merged 1 commit into
mainfrom
feature/fix-exp-iteration
Mar 18, 2026
Merged

Fix: NR iteration for exponentials should handle negatives correctly#78
IsaMorphic merged 1 commit into
mainfrom
feature/fix-exp-iteration

Conversation

@IsaMorphic

Copy link
Copy Markdown
Owner

This PR addresses a key issue with the implementation of the exponential library functions in QuadrupleLib. Previously, Newton-Raphson iteration over the inverse functions (e.g. Log, Log2, and Log10) would return NaN if the iterator variable became negative. This is now fixed by using the absolute value of the iteration variable for further calculations.

@IsaMorphic
IsaMorphic merged commit 5eb9f70 into main Mar 18, 2026
1 check passed
@IsaMorphic
IsaMorphic deleted the feature/fix-exp-iteration branch March 18, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant