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

Add IEEE 754 compliant fmt/parse of -0, infinity, NaN #78618

Merged
merged 5 commits into from
Mar 27, 2021

Commits on Mar 23, 2021

  1. Add IEEE754 tests

    workingjubilee committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    fc9b234 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    588cc64 View commit details
    Browse the repository at this point in the history
  3. Preserve signed zero on roundtrip

    This commit removes the previous mechanism of differentiating
    between "Debug" and "Display" formattings for the sign of -0 so as
    to comply with the IEEE 754 standard's requirements on external
    character sequences preserving various attributes of a floating
    point representation.
    
    In addition, numerous tests are fixed.
    workingjubilee committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    74db93e View commit details
    Browse the repository at this point in the history
  4. Update signed fmt/-0f32 docs

    "semantic equivalence" is too strong a phrasing here, which is why
    actually explaining what kind of circumstances might produce a -0
    was chosen instead.
    workingjubilee committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    6fdb8d8 View commit details
    Browse the repository at this point in the history
  5. Rephrase -0.0 docs

    workingjubilee committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    e8dfbac View commit details
    Browse the repository at this point in the history