In Cool§
See primary documentation in context for routine asec.
sub asec(Numeric(Cool)) method asec()
Coerces the invocant (or in sub form, its argument) to Numeric
, and returns its arc-secant in radians.
say 1.asec; # OUTPUT: «0» say sqrt(2).asec; # OUTPUT: «0.785398163397448»