Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
5.5.40
-
None
-
None
Description
It doesn't look very dangerous, just strange:
MariaDB [test]> select -1 % 0.1; |
+----------+ |
| -1 % 0.1 |
|
+----------+ |
| -0.0 |
|
+----------+ |
1 row in set (0.00 sec) |
Same in MySQL 5.6. PostgreSQL returns a normal zero.
Attachments
Issue Links
- is duplicated by
-
MDEV-30044 The problem of the representation of zero in the MOD function
- Closed
-
MDEV-30546 The representation of 0 in division function in computing string
- Closed
-
MDEV-30547 Problems when mod , division function and extremum function are used together
- Closed
-
MDEV-30991 The representation of 0 in multiplication, pow function
- Closed
- relates to
-
MDEV-6841 test decimal math
- Open