Re: [csswg-drafts] [css-values] Behavior of NaN in pow()/hypot() (#4161)

IMO the infectious behavior makes sense if when replacing each NaN argument with a variable (over non-NaN numbers), the resulting function is not constant.

But here `hypot(+∞, x)` must be +∞ no matter what x is, and `pow(x, 0)` must be 1. So extending this for NaN doesn't seem unreasonable. Though `max(+∞, NaN) = NaN`, so it's not much consistent.

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

Received on Tuesday, 30 July 2019 09:00:37 UTC