| Index: src/core/SkMathPriv.h
|
| diff --git a/src/core/SkMathPriv.h b/src/core/SkMathPriv.h
|
| index f93ab610787b655cdcaf6a843613d50e3d82e5c7..e997045ea85318db4fe32b2643fc251dd83f4914 100644
|
| --- a/src/core/SkMathPriv.h
|
| +++ b/src/core/SkMathPriv.h
|
| @@ -10,6 +10,12 @@
|
|
|
| #include "SkMath.h"
|
|
|
| +#ifdef SK_BUILD_FOR_IOS
|
| +// The iOS ARM processor discards small denormalized numbers to go faster.
|
| +// Algorithms that rely on denormalized numbers need alternative implementations.
|
| +#define SK_DISCARD_DENORMALIZED_FOR_SPEED
|
| +#endif
|
| +
|
| /** Returns -1 if n < 0, else returns 0
|
| */
|
| #define SkExtractSign(n) ((int32_t)(n) >> 31)
|
|
|