Chromium Code Reviews| Index: include/core/SkFloatingPoint.h |
| =================================================================== |
| --- include/core/SkFloatingPoint.h (revision 8808) |
| +++ include/core/SkFloatingPoint.h (working copy) |
| @@ -77,6 +77,8 @@ |
| #define sk_float_isinf(x) isinf(x) |
| #endif |
| +#define sk_double_isnan(a) sk_float_isnan(a) |
| + |
| #ifdef SK_USE_FLOATBITS |
| #define sk_float_floor2int(x) SkFloatToIntFloor(x) |
| #define sk_float_round2int(x) SkFloatToIntRound(x) |