Skip to content

Modern Math CAsech

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

Home › Math Library › Math Library › CAsech

CAsech

Returns the inverse hyperbolic secant of a complex number.

Syntax

CAsech( byref z as Complex ) as Complex

Notes

  • CAcosh( CReciprocal( z ) ).

Examples

#import "std/numeric"
using numeric

print CToString( CAsech( CSet( 2, 1 ) ) )    '' 0.21561241855582966-1.1692099351270904i
print CToString( CAsech( CSet( 0.5, 0 ) ) )  '' 1.3169578969248166-0i   -- real, since 1/0.5 is above 1

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

Clone this wiki locally