-
Notifications
You must be signed in to change notification settings - Fork 746
Closed
Labels
Closed Accepted by Editor DiscretionCommenter SatisfiedCommenter has indicated satisfaction with the resolution / edits.Commenter has indicated satisfaction with the resolution / edits.css-values-4Current WorkCurrent Work
Description
Currently https://drafts.csswg.org/css-values-4/#round-infinities says
In
round(A, B)
, if B is 0, the result is NaN.
But according to @tabatkins "my aesthetic sense is telling me I'm not allowed to say it's NaN when there are clear limit values."
In this case the limit is clear: lim_{x→0} round(strategy, A, x) = A
.
So maybe round(strategy, A, 0)
should be A
?
On the other hand, being A
would seem to imply that A
is a multiple of 0, which technically it's false.
But A / ∞ = 0
, so in a sense we do have A ≈ 0 * ∞
, dunno.
Metadata
Metadata
Assignees
Labels
Closed Accepted by Editor DiscretionCommenter SatisfiedCommenter has indicated satisfaction with the resolution / edits.Commenter has indicated satisfaction with the resolution / edits.css-values-4Current WorkCurrent Work