Skip to content

Modern Math CAcoth

Paul Squires edited this page Oct 19, 2026 · 5 revisions

Home › Math Library › Math Library › CAcoth

CAcoth

Returns the inverse hyperbolic cotangent of a complex number.

Syntax

CAcoth( byref z as Complex ) as Complex

Notes

  • CAtanh( CReciprocal( z ) ), so it inherits the branch-cut handling of CAtanh.

Examples

#import "std/numeric"
using numeric

print CToString( CAcoth( CSet( 2, 1 ) ) )  '' 0.4023594781085251-0.23182380450040307i
print CToString( CAcoth( CSet( 2, 0 ) ) )  '' 0.5493061443340549-0i   -- 1/2 is inside the real domain

Library: Math Library
Category: Math Library
Documented under: Members

Clone this wiki locally