Trigonometric functions: Difference between revisions

→‎{{header|PARI/GP}}: added functional version
m (→‎{{header|REXX}}: optimized a few statements here and there, mostly used multiplication instead of division (* 0.5 instead of /2) and the like.)
(→‎{{header|PARI/GP}}: added functional version)
Line 1,538:
asin(1)
atan(1)</lang>
 
{{works with|PARI/GP|2.4.3 and above}}
<lang parigp>apply(f->f(1), [cos,sin,tan,acos,asin,atan])</lang>
 
=={{header|Pascal}}==