Displaying 2 results from an estimated 2 matches for "tinyfloat".
2017 May 18
2
Bug: floating point bug in nclass.FD can cause hist() to crash
...::nclass.FD
https://svn.r-project.org/R/trunk/src/library/grDevices/R/calc.R
* base::pretty.default
https://svn.r-project.org/R/trunk/src/library/base/R/pretty.R
`nclass.FD` examines the inter-quartile range of `x`, and gets a positive, but
very small floating point value -- let's call it TINYFLOAT. It inserts this
ultra-low IQR into the `nclass` denominator, which means `nclass`
becoms a huge number -- let's call it BIGFLOAT. `nclass.FD` then returns this
huge value to `hist`.
Once `hist` has its 'number of breaks' suggestion, it feeds this
number to `pretty`:
pretty(range(...
2017 May 18
0
Bug: floating point bug in nclass.FD can cause hist() to crash
...roject.org/R/trunk/src/library/grDevices/R/calc.R
>
> * base::pretty.default
> https://svn.r-project.org/R/trunk/src/library/base/R/pretty.R
>
> `nclass.FD` examines the inter-quartile range of `x`, and gets a positive, but
> very small floating point value -- let's call it TINYFLOAT. It inserts this
> ultra-low IQR into the `nclass` denominator, which means `nclass`
> becoms a huge number -- let's call it BIGFLOAT. `nclass.FD` then returns this
> huge value to `hist`.
>
> Once `hist` has its 'number of breaks' suggestion, it feeds this
> number to...