summaryrefslogtreecommitdiff
path: root/include/decimal.h
diff options
context:
space:
mode:
authorholyfoot@hf-ibm.(none) <>2005-05-05 20:06:49 +0500
committerholyfoot@hf-ibm.(none) <>2005-05-05 20:06:49 +0500
commit2c8e9df232ae55b7319fe4b52ebaf8972fc04912 (patch)
tree28239d480c5b5f518077513738c6718aafd3584d /include/decimal.h
parent68dd50b10a9d7a10a81f07dfc296381df3ece211 (diff)
downloadmariadb-git-2c8e9df232ae55b7319fe4b52ebaf8972fc04912.tar.gz
A lot of fixes to Precision math
Mostly about precision/decimals of the results of the operations
Diffstat (limited to 'include/decimal.h')
-rw-r--r--include/decimal.h2
1 files changed, 1 insertions, 1 deletions
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);