Details
Description
MariaDB [test]> SELECT 621215273600417790 / 6 * 10000000000000000000.0 * 0.0000000001;
+----------------------------------------------------------------+
| 621215273600417790 / 6 * 10000000000000000000.0 * 0.0000000001 |
+----------------------------------------------------------------+
| 0.000000000000000 |
+----------------------------------------------------------------+
1 row in set (0.00 sec)
MySQL also returns 0.
PostgreSQL produces the result:
SELECT 621215273600417790 / 6 * 10000000000000000000.0 * 0.0000000001;
?column?
-----------------------------------------
103535878933402965000000000.00000000000
Gliffy Diagrams
Attachments
Issue Links
- relates to
-
MDEV-6841 test decimal math
-
- Open
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions