- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Fri, 31 Jan 2020 03:04:13 +0000
- To: public-css-archive@w3.org
The current definition of round() is correct. The quote is wrong; I tried to simplify the fuller expression of `mod(A, B) = A - (B * floor(A/B))` into `A - round(down, A, B)`, but as you note that's incorrect. I'll fix the note. > With (1), I guess the quote should say (A - round(down, A, B)) * sign(B) No, changing the sign of a mod/rem result is never correct. Use a value other than 2/-2 in your tests and you'll see that immediately. ^_^ -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4718#issuecomment-580561311 using your GitHub account
Received on Friday, 31 January 2020 03:05:14 UTC