HomeSort by relevance Sort by last modified time
    Searched refs:copySign (Results 1 - 25 of 28) sorted by null

1 2

  /external/guava/guava/src/com/google/common/math/
DoubleMath.java 30 import static java.lang.Math.copySign;
87 return x + Math.copySign(1.0, x);
96 return x + copySign(0.5, x);
354 Math.copySign(a - b, 1.0) <= tolerance
355 // copySign(x, 1.0) is a branch-free version of abs(x), but with different NaN semantics
  /libcore/ojluni/src/main/java/java/lang/
StrictMath.java     [all...]
Math.java     [all...]
  /external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
DoubleMath.java 139 Math.copySign(a - b, 1.0) <= tolerance
140 // copySign(x, 1.0) is a branch-free version of abs(x), but with different NaN semantics
  /libcore/ojluni/src/main/java/sun/misc/
FpUtils.java 187 * FpUtils#copySign(double, double) copySign} method, this method
210 * FpUtils#copySign(float, float) copySign} method, this method
    [all...]
  /external/llvm/include/llvm/ADT/
APFloat.h 347 void copySign(const APFloat &);
351 static APFloat copySign(APFloat Value, const APFloat &Sign) {
352 Value.copySign(Sign);
  /libcore/benchmarks/src/benchmarks/regression/
MathBenchmark.java 117 result = Math.copySign(d, d);
125 result = Math.copySign(f, f);
133 result = StrictMath.copySign(d, d);
141 result = StrictMath.copySign(f, f);
StrictMathBenchmark.java 123 StrictMath.copySign(d, d);
129 StrictMath.copySign(f, f);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
StrictMathTest.java 179 * {@link java.lang.StrictMath#copySign(double, double)}
194 .copySign(magnitude, Double.NaN)));
196 .copySign(Double.NaN, magnitude)));
201 .copySign(magnitude, sign));
218 .copySign(Double.NaN, Double.NaN)));
221 StrictMath.copySign((Double) null, 2.3);
227 StrictMath.copySign(2.3, (Double) null);
233 StrictMath.copySign((Double) null, (Double) null);
240 assertEquals(1.0, StrictMath.copySign(1.0, d), 0d);
244 * {@link java.lang.StrictMath#copySign(float, float)
    [all...]
MathTest.java 163 * {@link java.lang.Math#copySign(double, double)}
177 absMagnitudeBits, Double.doubleToLongBits(Math.copySign(
179 assertTrue("The result should be NaN.", Double.isNaN(Math.copySign(
184 final long resultBits = Double.doubleToLongBits(Math.copySign(
201 assertTrue("The result should be NaN.", Double.isNaN(Math.copySign(
205 Math.copySign((Double) null, 2.3);
211 Math.copySign(2.3, (Double) null);
217 Math.copySign((Double) null, (Double) null);
235 * {@link java.lang.Math#copySign(float, float)}
249 absMagnitudeBits, Float.floatToIntBits(Math.copySign(
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
RSUtils.java 185 minValueInHalf = Math.copySign(Float16Utils.MAX_VALUE, minValueInHalf);
188 maxValueInHalf = Math.copySign(Float16Utils.MAX_VALUE, maxValueInHalf);
CoreMathVerifier.java 417 static private Target.Floaty copysign(double magnitude, double sign, Target t) { method in class:CoreMathVerifier
418 return t.newFloaty(Math.copySign(magnitude, sign));
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/util/
FastMath.java 30 * <li>{@link #copySign(double, double)}</li>
35 * <li>{@link #copySign(float, float)}</li>
    [all...]
  /external/clang/lib/AST/
ExprConstant.cpp     [all...]
  /external/llvm/unittests/ADT/
APFloatTest.cpp     [all...]
  /external/llvm/lib/Support/
APFloat.cpp     [all...]
  /external/llvm/lib/Analysis/
ConstantFolding.cpp     [all...]
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/20/
android.jar 
  /prebuilts/sdk/22/
android.jar 
  /prebuilts/sdk/23/
android.jar 
  /prebuilts/sdk/24/
android.jar 

Completed in 1069 milliseconds

1 2