Searched refs:SkScalarCopySign (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/utils/ |
D | SkMatrix22.cpp | 18 c = SkScalarCopySign(SK_Scalar1, a); in SkComputeGivensRotation() 23 s = -SkScalarCopySign(SK_Scalar1, b); in SkComputeGivensRotation() 27 SkScalar u = SkScalarCopySign(SkScalarSqrt(SK_Scalar1 + t*t), b); in SkComputeGivensRotation() 33 SkScalar u = SkScalarCopySign(SkScalarSqrt(SK_Scalar1 + t*t), a); in SkComputeGivensRotation()
|
/external/skia/include/core/ |
D | SkScalar.h | 47 #define SkScalarCopySign(x, y) sk_float_copysign(x, y) macro 90 #define SkScalarCopySign(x, y) copysign(x, y) macro
|
/external/skia/tests/ |
D | MathTest.cpp | 483 REPORTER_ASSERT(reporter, SkScalarCopySign(sx, sx) == sx); in test_copysign() 484 REPORTER_ASSERT(reporter, SkScalarCopySign(sx, -sx) == -sx); in test_copysign() 485 REPORTER_ASSERT(reporter, SkScalarCopySign(-sx, sx) == sx); in test_copysign() 486 REPORTER_ASSERT(reporter, SkScalarCopySign(-sx, -sx) == -sx); in test_copysign()
|
/external/skia/src/core/ |
D | SkPath.cpp | 1066 SkScalar deltaRad = SkScalarCopySign(SK_Scalar1/512, sweepAngle); in angles_to_unit_vectors()
|