You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like R deals with this by arbitrarily cutting off at 1e-14 (https://github.com/wch/r-source/blob/trunk/src/library/base/R/pretty.R#L35). I think doing integer arithmetic for the range and then converting back to Double is a better way. (which also means we can get rid of the hacky floatShow function.
The text was updated successfully, but these errors were encountered:
The
majorTicksHelper
function generates an ugly near zero number if zero is in the middle of the interval:It looks like R deals with this by arbitrarily cutting off at
1e-14
(https://github.com/wch/r-source/blob/trunk/src/library/base/R/pretty.R#L35). I think doing integer arithmetic for the range and then converting back to Double is a better way. (which also means we can get rid of the hackyfloatShow
function.The text was updated successfully, but these errors were encountered: