mirror of
https://github.com/apache/commons-math.git
synced 2025-02-06 18:18:56 +00:00
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:
parent
e39775be72
commit
f7b4430490
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user