Replies: 1 comment 4 replies
-
Hmm, maybe this is an actual issue, not sure. I have a BigDecimal = "999111.999111" and calling doubleValue(false) on that value in the debugger shows the resulting Double = 999111.999111. Why does this throw an ArithmeticException if doubleValue() is called on the same instance? I haven't debugged in, but is this expected? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
FYI haven't dug into the patterns yet, but this narrowing stuff defaulting to exactRequired is a breaking change. I'm currently trying to determine how bad it is :-). Stuff that used to work is now barfing, will see if I can see what kinds of values are failing now. I may have to fin every use of a narrowing function on floats and doubles and set them all false.
Beta Was this translation helpful? Give feedback.
All reactions