Documentation for routine acos
assembled from the following pages:
Class: Cool §
From Cool
(Cool) routine acos §
Defined as:
sub acos(Numeric(Cool))method acos()
Coerces the invocant (or in sub form, the argument) to Numeric, and returns its arc-cosine in radians.
say 1.acos; # OUTPUT: «0» say acos(-1); # OUTPUT: «3.14159265358979»