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
First of all, thanks for your code.
I found a bug, and would like to report it
It's about exponential(^) operation between two bigDecimal number.
I think that a calculation which expected to take a long time to calculate must throw exception about overflow.
e.g. Expressions().eval("34^3.0E+24") Expressions().eval("34^3.0E+2451223111")
The code above throw exception about overflow.
But below is not 34^3.0E+2451223
I think it has to have some validation about each power calculation.
Thank you
The text was updated successfully, but these errors were encountered:
seungukson
changed the title
Exponential operator(^) does not throw exception about overflow
🐛 Exponential operator(^) does not throw exception about overflow
Jan 26, 2023
First of all, thanks for your code.
I found a bug, and would like to report it
It's about exponential(^) operation between two bigDecimal number.
I think that a calculation which expected to take a long time to calculate must throw exception about overflow.
e.g.
Expressions().eval("34^3.0E+24")
Expressions().eval("34^3.0E+2451223111")
The code above throw exception about overflow.
But below is not
34^3.0E+2451223
I think it has to have some validation about each power calculation.
Thank you
The text was updated successfully, but these errors were encountered: