Replaced "Math" with "FastMath".

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1097094 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gilles Sadowski 2011-04-27 12:26:48 +00:00
parent e39775be72
commit f7b4430490
1 changed files with 2 additions and 2 deletions

View File

@ -1293,8 +1293,8 @@ public final class MathUtils {
public static double reduce(double a,
double period,
double offset) {
final double p = Math.abs(period);
return a - p * Math.floor((a - offset) / p) - offset;
final double p = FastMath.abs(period);
return a - p * FastMath.floor((a - offset) / p) - offset;
}
/**