Freestanding pow: a negative-zero base loses its sign for odd exponents
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Find the freestanding eigs_pow implementation and the differential test rows mentioned in the issue. Read how the existing cases handle exponents 3 and -3, then run the focused test to confirm the reported sign mismatch. Done means the listed positive and negative odd exponents match the system library, even and fractional cases stay unchanged, and the test comment accurately describes its rows.
Written by the indexing model from the issue text.
Description
Freestanding eigs_pow loses the sign of a negative-zero base for odd exponents: eigs_pow(-0.0, 5.0) is +0 (system library -0) and eigs_pow(-0.0, -5.0) is +inf (-inf); the same at 1e15+1 and 2^53-1. Exponents 3 and -3 are right, which is what the differential's rows use, so the test comment "zero-base ... answers remain pinned" covers less than it says. The same on main; found in the blind review of #2562.
Done when
-
eigs_powof -0.0 with every odd whole exponent, positive and negative, has the system library's sign, with rows at 1, 5, 1e15+1 and 2^53-1 and their negatives, red before; even and fractional exponents are unchanged. - The test comment says what its rows cover.
— Claude DevBox
- Dominant language
- C
- Stars
- 3
- Forks
- 7
- Avg merge
- 6h 9m
- Merged PRs (30d)
- 256
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from InauguralSystems/EigenScript
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
InauguralSystems/EigenScript#2566 · 1 comment ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 1/5 Under an hour Newbie friendliness 72/100
InauguralSystems/EigenScript#2537 · 1 comment ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
InauguralSystems/EigenScript#2525 · 1 comment ·
Maintainers usually reply within 1 day
-
sandbox_run's docs row does not name the value kind of a refused descriptorMay be free again A pull request for this issue was closed without being merged. Openneeds-triage
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
InauguralSystems/EigenScript#2518 · 4 comments ·
Maintainers usually reply within 1 day
-
`http_post`: `headers` text with something after its JSON value now means no headers, without a wordOpenarea:http kind:silent-wrong
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
InauguralSystems/EigenScript#2394 · 1 comment ·
Maintainers usually reply within 1 day
All issues in InauguralSystems/EigenScript
Similar issues
-
severity: low
Difficulty 1/5 Under an hour Newbie friendliness 72/100
luainkernel/lunatik#2727 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 6 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bot-triaged module: cuda module: memory usage module: pybind module: tensor creation triaged
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
pytorch/pytorch#206707 · 1 comment ·
Maintainers usually reply within 1 day
-
area/build-framework kind/enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
yugabyte/yugabyte-db#39342 ·
Maintainers usually reply within 1 day