Re: [csswg-drafts] [css-values] Radians considered useless without π (#309)

For what itʼs worth, basically every CSS preprocessor (extension) that supports trigonometric functions also has a π constant (usually `$pi`) or parameter-less function (`pi()`), e.g.:

- [Compass Sass extension](http://compass-style.org/reference/compass/helpers/math/#pi) 
- [Unintended: Trigonometry in Sass](https://www.unindented.org/blog/trigonometry-in-sass/#sines-cosines-and-tangents) 
- [SCSS hack](https://gist.github.com/c4d472ce3c61feec6376) 
- [The Sass Way](http://thesassway.com/advanced/inverse-trigonometric-functions-with-sass) 
- [Team Sass: Sassy math](https://github.com/Team-Sass/Sassy-math) 
- [Less](http://lesscss.org/functions/#math-functions) out of the box

That is, admittedly, mostly because they need π for calculations themselves. Making it available to users is just a cheap extra, but I think we can assume that at least some authors do use it. 

While I also saw e and φ in some of the above, I did not see τ, by the way. 

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

Received on Friday, 10 May 2019 06:00:35 UTC