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

✨ Move NaN as an extreme value for floatNext #1185

Merged
merged 1 commit into from
Nov 23, 2020
Merged

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Nov 23, 2020

In a nutshell

Before that change shrinking a value generated by floatNext could have produced NaN.
In reality NaN should be considered as one of the extreme values (after the max or after the min but never the closer from zero).

It is more an enhancement than a new feature.

✔️ New feature
❌ Fix an issue
❌ Documentation improvement
❌ Other: please explain

(✔️: yes, ❌: no)

Potential impacts

None, the feature has not been released yet.

Verified

This commit was signed with the committer’s verified signature.
Before that change shrinking a value generated by floatNext could have produced NaN.
In reality NaN should be considered as one of the extreme values (after the max or after the min but never the closer from zero).
@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit defd88d:

Sandbox Source
Vanilla Configuration
fast-check-examples Configuration

@dubzzz dubzzz merged commit 98428a1 into master Nov 23, 2020
@dubzzz dubzzz deleted the fix/wrong-st-smaller branch November 23, 2020 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant