|
|
|
@ -31,15 +31,15 @@ FT_BEGIN_HEADER |
|
|
|
|
|
|
|
|
|
#ifdef FT_CONFIG_OPTION_OLD_CALCS |
|
|
|
|
|
|
|
|
|
# ifdef FT_LONG64 |
|
|
|
|
#ifdef FT_LONG64 |
|
|
|
|
|
|
|
|
|
typedef FT_INT64 FT_Int64; |
|
|
|
|
|
|
|
|
|
# define ADD_64( x, y, z ) z = (x) + (y) |
|
|
|
|
# define MUL_64( x, y, z ) z = (FT_Int64)(x) * (y) |
|
|
|
|
# define DIV_64( x, y ) ( (x) / (y) ) |
|
|
|
|
#define ADD_64( x, y, z ) z = (x) + (y) |
|
|
|
|
#define MUL_64( x, y, z ) z = (FT_Int64)(x) * (y) |
|
|
|
|
#define DIV_64( x, y ) ( (x) / (y) ) |
|
|
|
|
|
|
|
|
|
# define SQRT_64( z ) FT_Sqrt64( z ) |
|
|
|
|
#define SQRT_64( z ) FT_Sqrt64( z ) |
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
|
/* */ |
|
|
|
@ -60,7 +60,7 @@ FT_BEGIN_HEADER |
|
|
|
|
FT_EXPORT( FT_Int32 ) FT_Sqrt64( FT_Int64 l ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# else /* !FT_LONG64 */ |
|
|
|
|
#else /* !FT_LONG64 */ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct FT_Int64_ |
|
|
|
@ -71,9 +71,9 @@ FT_BEGIN_HEADER |
|
|
|
|
} FT_Int64; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# define ADD_64( x, y, z ) FT_Add64( &x, &y, &z ) |
|
|
|
|
# define MUL_64( x, y, z ) FT_MulTo64( x, y, &z ) |
|
|
|
|
# define DIV_64( x, y ) FT_Div64by32( &x, y ) |
|
|
|
|
#define ADD_64( x, y, z ) FT_Add64( &x, &y, &z ) |
|
|
|
|
#define MUL_64( x, y, z ) FT_MulTo64( x, y, &z ) |
|
|
|
|
#define DIV_64( x, y ) FT_Div64by32( &x, y ) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
@ -145,7 +145,7 @@ FT_BEGIN_HEADER |
|
|
|
|
FT_Int32 y ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# define SQRT_64( z ) FT_Sqrt64( &z ) |
|
|
|
|
#define SQRT_64( z ) FT_Sqrt64( &z ) |
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
|
/* */ |
|
|
|
@ -165,7 +165,7 @@ FT_BEGIN_HEADER |
|
|
|
|
/* */ |
|
|
|
|
FT_EXPORT( FT_Int32 ) FT_Sqrt64( FT_Int64* x ); |
|
|
|
|
|
|
|
|
|
# endif /* !FT_LONG64 */ |
|
|
|
|
#endif /* !FT_LONG64 */ |
|
|
|
|
|
|
|
|
|
#endif /* FT_CONFIG_OPTION_OLD_CALCS */ |
|
|
|
|
|
|
|
|
|