You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2018/02/21 11:26:56 UTC
[Bug 62121] Calculating the power of a negative number with a
fraction fails (for example -2^(1/3))
https://bz.apache.org/bugzilla/show_bug.cgi?id=62121
Javen O'Neal <on...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Calculating the power of a |Calculating the power of a
|negative number with a |negative number with a
|fracture fails (for example |fraction fails (for example
|-2^(1/3)) |-2^(1/3))
--- Comment #2 from Javen O'Neal <on...@apache.org> ---
Could you make your test case for -2^(1/2) and -2^(0.5) to show that the
problem isn't with order of operations in the exponent but in the sign
association with the base?
The mathematicians among us will also appreciate that x^0.5 is the same as
sqrt(x).
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org