Skip to content

TST: ftype agnostic checks for hex and fromhex #21903

@ganesh-k13

Description

@ganesh-k13

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions