Hi,
Describe the bug
mod() sometimes returns an unexpected result, presumably due to round-off errors.
To Reproduce
Please compare:
mod(0.15, 0.05)
// Actual result: 0.04999999999999999;
// Expected result: 0
with
0.15 - 0.05 * floor(0.15 / 0.05) == 0
// Actual result: true
// Expected result: true
Version tested: 11.8.0
Best regards,
Hi,
Describe the bug
mod()sometimes returns an unexpected result, presumably due to round-off errors.To Reproduce
Please compare:
with
Version tested: 11.8.0
Best regards,