You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Phil Steitz <ph...@gmail.com> on 2005/09/11 09:12:32 UTC

Re: DO NOT REPLY [Bug 36529] - [lang] Fraction 0 to the zeroth power should throw an ArithmeticException

I agree with Brent, and we did discuss this a couple of years back:
http://www.mail-archive.com/commons-dev@jakarta.apache.org/msg23611.html

On 9/6/05, bugzilla@apache.org <bu...@apache.org> wrote:
> 
> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://issues.apache.org/bugzilla/show_bug.cgi?id=36529>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
> INSERTED IN THE BUG DATABASE.
> 
> http://issues.apache.org/bugzilla/show_bug.cgi?id=36529
> 
> 
> 
> 
> 
> ------- Additional Comments From brent@worden.org 2005-09-07 04:39 -------
> The OP is correct in stating that 0^0 is an indeterminate form.
> 
> However, in lang's defense, java.lang.Math.pow(0, 0) does return 1.0 based 
> on
> the special case found in the javadoc comments: If the second argument is
> positive or negative zero, then the result is 1.0.
> 
> 
> 
> --
> Configure bugmail: 
> http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
>