OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 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 SkFloatingPoint_DEFINED | 10 #ifndef SkFloatingPoint_DEFINED |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 // This is the number of significant digits we can print in a string such that w
hen we read that | 161 // This is the number of significant digits we can print in a string such that w
hen we read that |
162 // string back we get the floating point number we expect. The minimum value C
requires is 6, but | 162 // string back we get the floating point number we expect. The minimum value C
requires is 6, but |
163 // most compilers support 9 | 163 // most compilers support 9 |
164 #ifdef FLT_DECIMAL_DIG | 164 #ifdef FLT_DECIMAL_DIG |
165 #define SK_FLT_DECIMAL_DIG FLT_DECIMAL_DIG | 165 #define SK_FLT_DECIMAL_DIG FLT_DECIMAL_DIG |
166 #else | 166 #else |
167 #define SK_FLT_DECIMAL_DIG 9 | 167 #define SK_FLT_DECIMAL_DIG 9 |
168 #endif | 168 #endif |
169 | 169 |
170 #endif | 170 #endif |
OLD | NEW |