Documentation for routine cotan
assembled from the following pages:
Class: Cool §
From Cool
(Cool) routine cotan §
Defined as:
sub cotan(Numeric(Cool))method cotan()
Coerces the invocant (or in sub form, its argument) to Numeric, interprets it as radians, returns its cotangent, that is, the reciprocal of its tangent.
say 45.cotan; # OUTPUT: «0.617369623783555» say cotan(45); # OUTPUT: «0.617369623783555»