From 2c8e9df232ae55b7319fe4b52ebaf8972fc04912 Mon Sep 17 00:00:00 2001 From: "holyfoot@hf-ibm.(none)" <> Date: Thu, 5 May 2005 20:06:49 +0500 Subject: A lot of fixes to Precision math Mostly about precision/decimals of the results of the operations --- include/decimal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/decimal.h') diff --git a/include/decimal.h b/include/decimal.h index 7b49841ca88..2648e04c1cf 100644 --- a/include/decimal.h +++ b/include/decimal.h @@ -39,7 +39,7 @@ int decimal2longlong(decimal_t *from, longlong *to); int longlong2decimal(longlong from, decimal_t *to); int decimal2double(decimal_t *from, double *to); int double2decimal(double from, decimal_t *to); -void decimal_optimize_fraction(decimal_t *from); +int decimal_actual_fraction(decimal_t *from); int decimal2bin(decimal_t *from, char *to, int precision, int scale); int bin2decimal(char *from, decimal_t *to, int precision, int scale); -- cgit v1.2.1