From commits-return-29700-apmail-commons-commits-archive=commons.apache.org@commons.apache.org Wed Nov 28 05:49:15 2012 Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E552DEA98 for ; Wed, 28 Nov 2012 05:49:14 +0000 (UTC) Received: (qmail 82524 invoked by uid 500); 28 Nov 2012 05:49:14 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 82300 invoked by uid 500); 28 Nov 2012 05:49:13 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 82287 invoked by uid 99); 28 Nov 2012 05:49:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2012 05:49:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2012 05:49:12 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 35331238896F; Wed, 28 Nov 2012 05:48:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1414535 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/FastMath.java Date: Wed, 28 Nov 2012 05:48:51 -0000 To: commits@commons.apache.org From: celestin@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121128054852.35331238896F@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: celestin Date: Wed Nov 28 05:48:50 2012 New Revision: 1414535 URL: http://svn.apache.org/viewvc?rev=1414535&view=rev Log: Checkstyle. Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/FastMath.java Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/FastMath.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/FastMath.java?rev=1414535&r1=1414534&r2=1414535&view=diff ============================================================================== --- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/FastMath.java (original) +++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/FastMath.java Wed Nov 28 05:48:50 2012 @@ -78,9 +78,6 @@ import java.io.PrintStream; * @since 2.2 */ public class FastMath { - /** StrictMath.log(Double.MAX_VALUE): {@value} */ - private static final double LOG_MAX_VALUE = StrictMath.log(Double.MAX_VALUE); - /** Archimede's constant PI, ratio of circle circumference to diameter. */ public static final double PI = 105414357.0 / 33554432.0 + 1.984187159361080883e-9; @@ -96,6 +93,9 @@ public class FastMath { /** Exponential fractions table length. */ static final int EXP_FRAC_TABLE_LEN = 1025; // 0, 1/1024, ... 1024/1024 + /** StrictMath.log(Double.MAX_VALUE): {@value} */ + private static final double LOG_MAX_VALUE = StrictMath.log(Double.MAX_VALUE); + /** Indicator for tables initialization. *

* This compile-time constant should be set to true only if one explicitly