enhance cbrt to work on Complex and to return all cube roots #29

Open
opened 2025-05-07 01:00:24 +00:00 by glen · 0 comments
Owner

For now, we will make cbrt with return typing strategy free or full (the default) always return all three cube roots (by analogy with sqrt's default behavior of returning Complex as necessary), but under typing strategy conservative on real inputs return just the real cube root.

This is the last function needed to implement polynomialRoot.

For now, we will make `cbrt` with return typing strategy `free` or `full` (the default) always return all three cube roots (by analogy with `sqrt`'s default behavior of returning Complex as necessary), but under typing strategy `conservative` on real inputs return just the real cube root. This is the last function needed to implement polynomialRoot.
glen added the
feature
priority
labels 2025-05-07 01:00:24 +00:00
glen added a new dependency 2025-05-07 01:06:39 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
#30 implement polynomialRoot
StudioInfinity/nanomath
Reference: StudioInfinity/nanomath#29
No description provided.