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
sigexp(x::DecimalFloatingPoint) is an internal function that returns (significand:IntXX, exponent::Int). The returned significand is always >= 0. When I use this function I have already checked for NaN and Inf so this internal version doesn't return useful values if passed NaN or Inf.
I suggest exporting a modified version of this that returns (sign::DecXX, significand::DecXX, exponent::Int)
sigexp(x::DecimalFloatingPoint)
is an internal function that returns(significand:IntXX, exponent::Int)
. The returned significand is always >= 0. When I use this function I have already checked forNaN
andInf
so this internal version doesn't return useful values if passedNaN
orInf
.I suggest exporting a modified version of this that returns
(sign::DecXX, significand::DecXX, exponent::Int)
An alternative would be to have it return
(sign::Int, significand::IntXX, exponent::Int)
and throw an exception if passedNaN
orInf
.@quinnj
The text was updated successfully, but these errors were encountered: