In Cool§
See primary documentation in context for routine cosec.
sub cosec(Numeric(Cool)) method cosec()
Coerces the invocant (or in sub form, its argument) to Numeric
, interprets it as radians, returns its cosecant, that is, the reciprocal of its sine.
say 0.45.cosec; # OUTPUT: «2.29903273150897» say cosec(0.45); # OUTPUT: «2.29903273150897»