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

Strange minValue #38

Open
lpatiny opened this issue Jan 30, 2022 · 0 comments
Open

Strange minValue #38

lpatiny opened this issue Jan 30, 2022 · 0 comments
Assignees

Comments

@lpatiny
Copy link
Member

lpatiny commented Jan 30, 2022

In the following line the minValue is quite strange and can never be negative

let minValue = 1e20;

Are you thinking in fact about Number.NEGATIVE_INFINITY or the smallest value that can be store in a Number (Number.MIN_VALUE) that corresponds to 5e-324 ?

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

No branches or pull requests

2 participants