* 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".
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
diff --git a/ChangeLog b/ChangeLog
index d64f426..cd33054 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-09 Werner Lemberg <wl@gnu.org>
+
+ * include/freetype/internal/ftcalc.h: Move declaration of
+ FT_SqrtFixed() out of `#ifdef FT_LONG64'.
+
2001-05-08 Francesco Zappa Nardelli <Francesco.Zappa.Nardelli@ens.fr>
* src/pcfdriver.c (PCF_Load_Glyph): Fixed incorrect bitmap width
@@ -10,8 +15,9 @@
line numbers reported during errors and warnings, and other
formatting issues.
- * src/base/ftcalc.c: Carious tiny fixes related to rounding in
- 64-bits routines and pseudo"optimizations" :-)
+ * src/base/ftcalc.c (FT_MulDiv, FT_MulFix, FT_DivFix): Various tiny
+ fixes related to rounding in 64-bits routines and
+ pseudo-"optimizations".
2001-04-27 David Turner <david@freetype.org>
diff --git a/include/freetype/internal/ftcalc.h b/include/freetype/internal/ftcalc.h
index cc4f5af..477083f 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 )