Re: [csswg-drafts] [css-values] Add round()/floor()/ceil() functions (#2513)

I'm not sure I buy the argument that the standard names are confusing in this case.

If the names are new and confusing, I'd assume so is having to think about the different rounding modes at all. If that's the case, writing `round(up, var(--x))` for ⌈x⌉ is going to be confusing when `--x` is less than 0. At the very least, `round(to inf, var(--x))` would be a better middle ground.

In the case of floor and ceiling specifically, I'd also imagine that those either are or will be introduced to more people at an earlier age as math education includes more discrete math as more computer science education is introduced. So, at least for those two, I think there would be a long term benefit for calling them by their more standardized names.

-- 
GitHub Notification of comment by jimmyfrasche
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2513#issuecomment-574866359 using your GitHub account

Received on Wednesday, 15 January 2020 21:33:45 UTC