Possible bug when extending sqrt #27

Closed
opened 2022-07-25 11:47:04 +00:00 by glen · 0 comments
Owner

The code in sqrt(Complex) checks the return value of sign() for the specific values 0, 1, -1, but I think they are 0n, 1n, -1n for bigint arguments, for example, so
the code will likely need to be improved to extend to component types other than sqrt.

The code in sqrt(Complex) checks the return value of sign() for the specific values 0, 1, -1, but I think they are 0n, 1n, -1n for bigint arguments, for example, so the code will likely need to be improved to extend to component types other than sqrt.
glen added the
bug
label 2022-07-25 11:47:04 +00:00
glen closed this issue 2022-07-25 19:54:56 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: glen/pocomath#27
No description provided.