Skip to content

Fix: RootN(x, n) should be equal to -Pow(x, 1/n) for odd nth roots. - #86

Merged
IsaMorphic merged 1 commit into
mainfrom
feature/fix-rootn-func
Mar 19, 2026
Merged

Fix: RootN(x, n) should be equal to -Pow(x, 1/n) for odd nth roots.#86
IsaMorphic merged 1 commit into
mainfrom
feature/fix-rootn-func

Conversation

@IsaMorphic

Copy link
Copy Markdown
Owner

This PR addresses a bug introduced by #83 where RootN would return incorrect results for odd roots of negative numbers. The issue was fixed and tests were added to prevent this bug in the future.

@IsaMorphic
IsaMorphic merged commit e443bca into main Mar 19, 2026
1 check passed
@IsaMorphic
IsaMorphic deleted the feature/fix-rootn-func branch March 19, 2026 17:20
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