- From: Daniel Holbert via GitHub <sysbot+gh@w3.org>
- Date: Tue, 07 Mar 2023 00:09:05 +0000
- To: public-css-archive@w3.org
The spec has a note about the intent being for roundtripping coherence: > Note: The behavior of tan(90deg) [...] is defined so that roundtripping of values works; tan(atan(infinity)) yields +∞, tan(atan(-infinity)) yields −∞, atan(tan(90deg)) yields 90deg, and atan(tan(-90deg)) yields -90deg. https://www.w3.org/TR/css-values-4/#trig-infinities (Here, the "[...]" expands to... > ...while not constrained by JS behavior (because the JS function’s input is in radians, and one cannot perfectly express a value of π/2 in JS numbers ... which helps explain why the spec discusses this special-case in terms of 90deg and not in terms of pi/2). -- GitHub Notification of comment by dholbert Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8527#issuecomment-1457247803 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 7 March 2023 00:09:07 UTC