Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.16.0, 1.21.0
-
None
Description
mod's return type is
chain(DECIMAL_MOD_NULLABLE, ARG1_NULLABLE),
but mod(33.5,7)'s result is 5.5, not in line with ARG1_NULLABLE.
This causes floor(mod(33.5,7)) wrongly returns 5.5
Attachments
Issue Links
- links to