cheminfo / multiplet-analysis

Analyse multiplet
https://cheminfo.github.io/multiplet-analysis/docs/
MIT License
1 stars 1 forks source link

Strange minValue #38

Open lpatiny opened 2 years ago

lpatiny commented 2 years ago

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

https://github.com/cheminfo/multiplet-analysis/blob/1f65de474f042a0c1efde86fc8770a8c63152252/src/index.js#L73

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 ?