[MATH] FastMath code contains 'magic' numbers, e.g. (-)4503599627370496.0
-------------------------------------------------------------------------

                 Key: MATH-476
                 URL: https://issues.apache.org/jira/browse/MATH-476
             Project: Commons Math
          Issue Type: Improvement
            Reporter: Sebb
            Priority: Minor


The FastMath class contains quite a few 'magic' numbers, not all of which are 
explained/documented.

For example, how is the number (-)4503599627370496.0 calculated?

IMO, all magic numbers should be replaced by constants with a descriptive name 
and explanatory Javadoc.

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

Reply via email to