W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2019

Re: [csswg-drafts] [css-values] Trigonometric functions (#2331)

From: Christoph Päper via GitHub <sysbot+gh@w3.org>
Date: Thu, 28 Feb 2019 17:57:06 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-468372452-1551376625-sysbot+gh@w3.org>
Iʼm all for author convenience, e.g. I still want an angular `pi` unit for the same reason. Javascript also has cube root, `cbrt()`, which should mean that some people find this convenient.

It would probably be convenient to also have functions for **cotangent, secant and cosecant**, even if Javascript does not provide these reciprocal functions. A reciprocal function, 1/x, for just the value, i.e. without changing the unit, might be beneficial as well, but no actual use case comes to mind. 

-- 
GitHub Notification of comment by Crissov
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2331#issuecomment-468372452 using your GitHub account
Received on Thursday, 28 February 2019 17:57:07 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:44 UTC