/external/guava/guava/src/com/google/common/math/ |
D | DoubleMath.java | 28 import static java.lang.Math.copySign; 95 return x + copySign(0.5, x); in roundIntermediate() 361 return Math.copySign(a - b, 1.0) <= tolerance in fuzzyEquals()
|
/external/guava/android/guava/src/com/google/common/math/ |
D | DoubleMath.java | 28 import static java.lang.Math.copySign; 95 return x + copySign(0.5, x); in roundIntermediate() 361 return Math.copySign(a - b, 1.0) <= tolerance in fuzzyEquals()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APFloat.h | 297 void copySign(const IEEEFloat &); 301 static IEEEFloat copySign(IEEEFloat Value, const IEEEFloat &Sign) { in copySign() function 302 Value.copySign(Sign); in copySign() 977 void copySign(const APFloat &RHS) { getIEEE().copySign(RHS.getIEEE()); } in copySign() function 979 static APFloat copySign(APFloat Value, const APFloat &Sign) { in copySign() function 980 return APFloat(IEEEFloat::copySign(Value.getIEEE(), Sign.getIEEE()), in copySign()
|
/external/llvm/include/llvm/ADT/ |
D | APFloat.h | 349 void copySign(const APFloat &); 353 static APFloat copySign(APFloat Value, const APFloat &Sign) { in copySign() function 354 Value.copySign(Sign); in copySign()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | APFloat.h | 1075 void copySign(const APFloat &RHS) { in copySign() function 1082 static APFloat copySign(APFloat Value, const APFloat &Sign) { in copySign() function 1083 Value.copySign(Sign); in copySign()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | APFloat.h | 1094 void copySign(const APFloat &RHS) { in copySign() function 1101 static APFloat copySign(APFloat Value, const APFloat &Sign) { in copySign() function 1102 Value.copySign(Sign); in copySign()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | FastMath.java | 2797 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/ |
D | ExprConstant.cpp | 8329 Result.copySign(RHS); in VisitCallExpr() 8738 A = APFloat::copySign( in VisitBinaryOperator() 8740 B = APFloat::copySign( in VisitBinaryOperator() 8743 C = APFloat::copySign(APFloat(C.getSemantics()), C); in VisitBinaryOperator() 8745 D = APFloat::copySign(APFloat(D.getSemantics()), D); in VisitBinaryOperator() 8749 C = APFloat::copySign( in VisitBinaryOperator() 8751 D = APFloat::copySign( in VisitBinaryOperator() 8754 A = APFloat::copySign(APFloat(A.getSemantics()), A); in VisitBinaryOperator() 8756 B = APFloat::copySign(APFloat(B.getSemantics()), B); in VisitBinaryOperator() 8762 A = APFloat::copySign(APFloat(A.getSemantics()), A); in VisitBinaryOperator() [all …]
|
/external/llvm-project/clang/lib/AST/ |
D | ExprConstant.cpp | 13677 Result.copySign(RHS); in VisitCallExpr() 14112 A = APFloat::copySign( in VisitBinaryOperator() 14114 B = APFloat::copySign( in VisitBinaryOperator() 14117 C = APFloat::copySign(APFloat(C.getSemantics()), C); in VisitBinaryOperator() 14119 D = APFloat::copySign(APFloat(D.getSemantics()), D); in VisitBinaryOperator() 14123 C = APFloat::copySign( in VisitBinaryOperator() 14125 D = APFloat::copySign( in VisitBinaryOperator() 14128 A = APFloat::copySign(APFloat(A.getSemantics()), A); in VisitBinaryOperator() 14130 B = APFloat::copySign(APFloat(B.getSemantics()), B); in VisitBinaryOperator() 14136 A = APFloat::copySign(APFloat(A.getSemantics()), A); in VisitBinaryOperator() [all …]
|
/external/llvm/unittests/ADT/ |
D | APFloatTest.cpp | 1434 TEST(APFloatTest, copySign) { in TEST() argument 1436 APFloat::copySign(APFloat(42.0), APFloat(-1.0)))); in TEST() 1438 APFloat::copySign(APFloat(-42.0), APFloat(1.0)))); in TEST() 1440 APFloat::copySign(APFloat(-42.0), APFloat(-1.0)))); in TEST() 1442 APFloat::copySign(APFloat(42.0), APFloat(1.0)))); in TEST()
|
/external/llvm-project/llvm/unittests/ADT/ |
D | APFloatTest.cpp | 1783 TEST(APFloatTest, copySign) { in TEST() argument 1785 APFloat::copySign(APFloat(42.0), APFloat(-1.0)))); in TEST() 1787 APFloat::copySign(APFloat(-42.0), APFloat(1.0)))); in TEST() 1789 APFloat::copySign(APFloat(-42.0), APFloat(-1.0)))); in TEST() 1791 APFloat::copySign(APFloat(42.0), APFloat(1.0)))); in TEST() 4582 APFloat::copySign(Float, APFloat(APFloat::IEEEdouble(), "1")); in TEST() 4588 APFloat::copySign(Float, APFloat(APFloat::IEEEdouble(), "-1")); in TEST()
|
/external/llvm/lib/Support/ |
D | APFloat.cpp | 1658 APFloat::copySign(const APFloat &rhs) in copySign() function in APFloat 1890 MagicConstant.copySign(*this); in roundToIntegral()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1719 V1.copySign(V2); in ConstantFoldScalarCall()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 3289 double negNaN = Math.copySign(Double.NaN, -0.0); in signCoverage()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 3286 double negNaN = Math.copySign(Double.NaN, -0.0); in signCoverage()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 2049 V1.copySign(V2); in ConstantFoldScalarCall2()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 2359 V1.copySign(V2); in ConstantFoldScalarCall2()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 3819 V1.copySign(V2); in getNode()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 5097 C1.copySign(C2); in foldConstantFPMath()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 5109 C1.copySign(C2); in foldConstantFPMath()
|