commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Semrau (JIRA)" <j...@apache.org>
Subject [jira] Created: (MATH-243) MathUtils.gcd(Integer.MIN_VALUE, 0) should throw an Exception instead of returning Integer.MIN_VALUE
Date Wed, 21 Jan 2009 21:15:59 GMT
MathUtils.gcd(Integer.MIN_VALUE, 0) should throw an Exception instead of returning Integer.MIN_VALUE
----------------------------------------------------------------------------------------------------

                 Key: MATH-243
                 URL: https://issues.apache.org/jira/browse/MATH-243
             Project: Commons Math
          Issue Type: Bug
            Reporter: Christian Semrau
            Priority: Minor


The gcd method should throw an Exception for gcd(Integer.MIN_VALUE, 0), like for gcd(Integer.MIN_VALUE,
Integer.MIN_VALUE). The method should only return nonnegative results.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message