Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Duplicate
-
10.9.4
-
None
-
maria docker
Description
SELECT '0'*-4; – expected: 0, actual: -0
SELECT pow('0'*-4,3); – expected: 0, actual: -0
When we use the multiplication, pow function to calculate, we find that if there is a negative number type string, the result will be inconsistent with the expectation
Attachments
Issue Links
- duplicates
-
MDEV-6856 <negative value> MOD <fractional divisor> returns negative zero
- Open