Add support for the TAU constant. Fixes #12094.

This commit is contained in:
Goutte
2017-11-04 10:34:27 +01:00
parent c1855dcff1
commit 91ca725f9b
11 changed files with 34 additions and 9 deletions
+4 -4
View File
@@ -42,12 +42,12 @@
<constant name="MATH_CONSTANT_PI" value="1">
Pi: [code]3.141593[/code]
</constant>
<constant name="MATH_CONSTANT_2PI" value="2">
Pi times two: [code]6.283185[/code]
</constant>
<constant name="MATH_CONSTANT_HALF_PI" value="3">
<constant name="MATH_CONSTANT_HALF_PI" value="2">
Pi divided by two: [code]1.570796[/code]
</constant>
<constant name="MATH_CONSTANT_TAU" value="3">
Tau: [code]6.283185[/code]
</constant>
<constant name="MATH_CONSTANT_E" value="4">
Natural log: [code]2.718282[/code]
</constant>