| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2008 The Android Open Source Project | 3 * Copyright 2008 The Android Open Source Project |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | 9 |
| 10 #ifndef SkFloatBits_DEFINED | 10 #ifndef SkFloatBits_DEFINED |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 static inline int32_t SkFloatToIntCeil(float x) { | 123 static inline int32_t SkFloatToIntCeil(float x) { |
| 124 return SkFloatBits_toIntCeil(SkFloat2Bits(x)); | 124 return SkFloatBits_toIntCeil(SkFloat2Bits(x)); |
| 125 } | 125 } |
| 126 | 126 |
| 127 // Scalar wrappers for float-bit routines | 127 // Scalar wrappers for float-bit routines |
| 128 | 128 |
| 129 #define SkScalarAs2sCompliment(x) SkFloatAs2sCompliment(x) | 129 #define SkScalarAs2sCompliment(x) SkFloatAs2sCompliment(x) |
| 130 #define Sk2sComplimentAsScalar(x) Sk2sComplimentAsFloat(x) | 130 #define Sk2sComplimentAsScalar(x) Sk2sComplimentAsFloat(x) |
| 131 | 131 |
| 132 #endif | 132 #endif |
| OLD | NEW |