mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
A lot of fixes to Precision math
Mostly about precision/decimals of the results of the operations
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user