diff options
author | Werner Lemberg <wl@gnu.org> | 2001-05-09 20:57:45 +0000 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2001-05-09 20:57:45 +0000 |
commit | 5704f0c984d403d7e004ce45d92609991b39342f (patch) | |
tree | 678344495484f7153421d488a760306996e48c32 /include/freetype/internal | |
parent | 2f41b184beea139c96ed73162e851993c7c44edf (diff) | |
download | freetype2-5704f0c984d403d7e004ce45d92609991b39342f.tar.gz |
* include/freetype/internal/ftcalc.h: Move declaration of
FT_SqrtFixed() out of `#ifdef FT_LONG64'.
* src/base/ftcalc.c (FT_MulDiv, FT_MulFix, FT_DivFix): Various tiny
fixes related to rounding in 64-bits routines and
pseudo-"optimizations".
Diffstat (limited to 'include/freetype/internal')
-rw-r--r-- | include/freetype/internal/ftcalc.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/freetype/internal/ftcalc.h b/include/freetype/internal/ftcalc.h index cc4f5af4f..477083fbb 100644 --- a/include/freetype/internal/ftcalc.h +++ b/include/freetype/internal/ftcalc.h @@ -146,8 +146,6 @@ FT_BEGIN_HEADER FT_Int32 y ); - FT_EXPORT( FT_Int32 ) FT_SqrtFixed( FT_Int32 x ); - #ifdef FT_CONFIG_OPTION_OLD_CALCS #define SQRT_64( z ) FT_Sqrt64( &z ) @@ -176,6 +174,9 @@ FT_BEGIN_HEADER #endif /* FT_LONG64 */ + FT_EXPORT( FT_Int32 ) FT_SqrtFixed( FT_Int32 x ); + + #ifndef FT_CONFIG_OPTION_OLD_CALCS #define SQRT_32( x ) FT_Sqrt32( x ) |