Trigonometric functions: Difference between revisions
Content added Content deleted
SqrtNegInf (talk | contribs) m (→{{header|Perl 6}}: only radians accepted) |
|||
Line 3,235: | Line 3,235: | ||
=={{header|Perl 6}}== |
=={{header|Perl 6}}== |
||
{{works with|Rakudo| |
{{works with|Rakudo|2016.01}} |
||
<lang perl6>say sin(pi/3) |
<lang perl6>say sin(pi/3); |
||
say cos(pi/4) |
say cos(pi/4); |
||
say tan(pi/6) |
say tan(pi/6); |
||
say asin(sqrt(3)/2) |
say asin(sqrt(3)/2); |
||
say acos(1/sqrt 2) |
say acos(1/sqrt 2); |
||
say atan(1/sqrt 3) |
say atan(1/sqrt 3);</lang> |
||
=={{header|PL/I}}== |
=={{header|PL/I}}== |