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

I think it's also good to preserve `tan(x) = sin(x) / cos(x)`.

So assuming `cos(90deg) = cos(-90deg) = +0` (not `-0`), then IEEE-754 says

```
tan(+90deg) = +1 / +0 = +∞
tan(−90deg) = −1 / +0 = −∞
```

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

Received on Thursday, 11 July 2019 16:39:57 UTC