https://bugzilla.wikimedia.org/show_bug.cgi?id=6068

--- Comment #56 from Philippe Verdy <[email protected]> ---
The patch found in I32c9ca6 incorrectly casts its parameters to (float) instead
of (double). This means that it reduces their precision when they are double.

Note that the fmod() PHP function takes double parameters (not float
parameters), so the cast to (float) is immediately recasted by promotion to
(double).

Please use typecasts to (double) directly to keep the precision and avoid
roundings.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to