Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST: ftype agnostic checks for hex and fromhex #21903

Open
5 tasks
ganesh-k13 opened this issue Jul 2, 2022 · 0 comments
Open
5 tasks

TST: ftype agnostic checks for hex and fromhex #21903

ganesh-k13 opened this issue Jul 2, 2022 · 0 comments
Labels
05 - Testing 62 - Python API Changes or additions to the Python API. Mailing list should usually be notified. component: npy_math

Comments

@ganesh-k13
Copy link
Member

ganesh-k13 commented Jul 2, 2022

Proposed new feature or change:

In reference to #20083:

Gap in current tests

Currently, the following tests are only implemented for float64 type as a direct copy from CPython's test in https://github.com/python/cpython/blob/main/Lib/test/test_float.py:

  • 1 moving the point around (pi).
  • 2 Make it go towards NMANT (in ref to [1])
  • 3 results that should overflow...
  • 4 check round-half-even is working correctly near MIN
  • 5 check round-half-even is working correctly near 1.0

Note This needs prior knowledge on floats and IEEE_754.

Start after #20083 is merged. I'll populate the links above with permanent links to reach them better,

ganesh-k13 added a commit to ganesh-k13/numpy that referenced this issue Jul 2, 2022
Tracking in numpy#21903

1. moving the point around (pi).
2. Make it go towards NMANT (in ref to [1])
3. results that should overflow...
4. check round-half-even is working correctly near MIN
5. check round-half-even is working correctly near 1.0
@ganesh-k13 ganesh-k13 added 05 - Testing component: npy_math 62 - Python API Changes or additions to the Python API. Mailing list should usually be notified. labels Jul 2, 2022
ganesh-k13 added a commit to ganesh-k13/numpy that referenced this issue Mar 18, 2023
Tracking in numpy#21903

1. moving the point around (pi).
2. Make it go towards NMANT (in ref to [1])
3. results that should overflow...
4. check round-half-even is working correctly near MIN
5. check round-half-even is working correctly near 1.0
ganesh-k13 added a commit to ganesh-k13/numpy that referenced this issue Apr 30, 2023
Tracking in numpy#21903

1. moving the point around (pi).
2. Make it go towards NMANT (in ref to [1])
3. results that should overflow...
4. check round-half-even is working correctly near MIN
5. check round-half-even is working correctly near 1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
05 - Testing 62 - Python API Changes or additions to the Python API. Mailing list should usually be notified. component: npy_math
Projects
None yet
Development

No branches or pull requests

1 participant