Skip to content

Commit

Permalink
Added documentation for sech and asech to Cool.pod
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan-Olof Hendig committed Apr 13, 2016
1 parent ade320d commit 1bb1550
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions doc/Type/Cool.pod
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,40 @@ Usage:
Coerces the invocant (or in method form, its argument) to L<Numeric|/type/Numeric>, and returns its
L<Inverse tangens hyperbolicus|https://en.wikipedia.org/wiki/Inverse_hyperbolic_function>.
=head2 routine sech
Defined as:
sub sech(Numeric(Cool))
method sech()
Usage:
sech NUMERIC
NUMERIC.sech
Coerces the invocant (or in method form, its argument) to L<Numeric|/type/Numeric>, and returns its
L<Secant hyperbolicus|https://en.wikipedia.org/wiki/Hyperbolic_function>.
say 0.sech; # 1
=head2 routine asech
Defined as:
sub asech(Numeric(Cool))
method asech()
Usage:
asech NUMERIC
NUMERIC.asech
Coerces the invocant (or in method form, its argument) to L<Numeric|/type/Numeric>, and returns its
L<Inverse hyperbolic secant|https://en.wikipedia.org/wiki/Hyperbolic_function>.
say 0.8.asech; # 0.693147180559945
=head2 routine log
Defined as:
Expand Down

0 comments on commit 1bb1550

Please sign in to comment.