Re: [csswg-drafts] Does tan(90deg) return +∞, −∞ or NaN? (#4101)

> So I guess this should round-trip and tan(90deg) should be +∞ and tan(-90deg) be -∞?

I would argue strongly for a solution that supports round-tripping, so that `atan(tan(90deg))` returns 90deg.  If we can't do that, might as well give up on propagating the infinities through the nested functions at all.

And being approximately consistent with JS implementations is good, too. Even if the JS results are a side effect of numerical precision limits.

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

Received on Wednesday, 10 July 2019 23:00:49 UTC