Averages/Mean angle: Difference between revisions

Content deleted Content added
→‎{{header|REXX}}: added/changed comments and whitespace, added wording to the REXX section header, used a template for the output section, fixed a flaw in the Asin function.
m →‎{{header|REXX}}: elided the inclusion of the P (pick) function.
Line 1,661: Line 1,661:
r2d: return d2d((r2r(arg(1)) / pi()) * 180)
r2d: return d2d((r2r(arg(1)) / pi()) * 180)
r2r: return arg(1) // (pi() * 2)
r2r: return arg(1) // (pi() * 2)
p: return word(arg(1), 1)
pi: pi=3.1415926535897932384626433832795028841971693993751058209749445923078164062862;return pi
pi: pi=3.1415926535897932384626433832795028841971693993751058209749445923078164062862;return pi
/*───────────────────────────────────────────────────────────────────────────────────────────*/
/*───────────────────────────────────────────────────────────────────────────────────────────*/