Home
last modified time | relevance | path

Searched refs:copySign (Results 1 – 9 of 9) sorted by relevance

/external/guava/guava/src/com/google/common/math/
DDoubleMath.java30 import static java.lang.Math.copySign;
87 return x + Math.copySign(1.0, x); in roundIntermediate()
96 return x + copySign(0.5, x); in roundIntermediate()
354 Math.copySign(a - b, 1.0) <= tolerance in fuzzyEquals()
/external/llvm/include/llvm/ADT/
DAPFloat.h347 void copySign(const APFloat &);
351 static APFloat copySign(APFloat Value, const APFloat &Sign) { in copySign() function
352 Value.copySign(Sign); in copySign()
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
DDoubleMath.java139 Math.copySign(a - b, 1.0) <= tolerance in fuzzyEquals()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DFastMath.java2797 return leftPlane ? copySign(Math.PI, xa) : xa; in atan()
2956 return copySign(Math.PI, y); in atan2()
3050 ra = copySign(0.0, y); in atan2()
3995 public static double copySign(double magnitude, double sign){ in copySign() method in FastMath
4012 public static float copySign(float magnitude, float sign){ in copySign() method in FastMath
/external/clang/lib/AST/
DExprConstant.cpp8029 Result.copySign(RHS); in VisitCallExpr()
8437 A = APFloat::copySign( in VisitBinaryOperator()
8439 B = APFloat::copySign( in VisitBinaryOperator()
8442 C = APFloat::copySign(APFloat(C.getSemantics()), C); in VisitBinaryOperator()
8444 D = APFloat::copySign(APFloat(D.getSemantics()), D); in VisitBinaryOperator()
8448 C = APFloat::copySign( in VisitBinaryOperator()
8450 D = APFloat::copySign( in VisitBinaryOperator()
8453 A = APFloat::copySign(APFloat(A.getSemantics()), A); in VisitBinaryOperator()
8455 B = APFloat::copySign(APFloat(B.getSemantics()), B); in VisitBinaryOperator()
8461 A = APFloat::copySign(APFloat(A.getSemantics()), A); in VisitBinaryOperator()
[all …]
/external/llvm/unittests/ADT/
DAPFloatTest.cpp1435 TEST(APFloatTest, copySign) { in TEST() argument
1437 APFloat::copySign(APFloat(42.0), APFloat(-1.0)))); in TEST()
1439 APFloat::copySign(APFloat(-42.0), APFloat(1.0)))); in TEST()
1441 APFloat::copySign(APFloat(-42.0), APFloat(-1.0)))); in TEST()
1443 APFloat::copySign(APFloat(42.0), APFloat(1.0)))); in TEST()
/external/llvm/lib/Support/
DAPFloat.cpp1655 APFloat::copySign(const APFloat &rhs) in copySign() function in APFloat
1887 MagicConstant.copySign(*this); in roundToIntegral()
/external/llvm/lib/Analysis/
DConstantFolding.cpp1665 V1.copySign(V2); in ConstantFoldScalarCall()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp3780 V1.copySign(V2); in getNode()