Skip to content

Modern Math CCsch

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

Home › Math Library › Math Library › CCsch

CCsch

Returns the hyperbolic cosecant of a complex number, one over its sinh; zero gives zero.

Syntax

CCsch( byref z as Complex ) as Complex

Notes

  • CReciprocal( CSinh( z ) ).
  • CCsch( 0 ) is zero, following CReciprocal's rule; the true value is infinite.

Examples

#import "std/numeric"
using numeric

dim as Complex z = CSet( 0.5, 0.25 )

print CToString( CCsch( z ) )         '' 1.51734688627714-0.8384070208472441i
print CToString( CCsch( CZero( ) ) )  '' 0+0i

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

Clone this wiki locally