-
Notifications
You must be signed in to change notification settings - Fork 21
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
export sigexp() #130
Comments
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: