Home
last modified time | relevance | path

Searched refs:SkScalarCopySign (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/utils/
DSkMatrix22.cpp18 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/
DSkScalar.h47 #define SkScalarCopySign(x, y) sk_float_copysign(x, y) macro
90 #define SkScalarCopySign(x, y) copysign(x, y) macro
/external/skia/tests/
DMathTest.cpp483 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/
DSkPath.cpp1066 SkScalar deltaRad = SkScalarCopySign(SK_Scalar1/512, sweepAngle); in angles_to_unit_vectors()