Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ctanhf(3) [mojave man page]

CTANH(3)						   BSD Library Functions Manual 						  CTANH(3)

NAME
ctanh -- complex hyperbolic tangent function SYNOPSIS
double complex ctanh(double complex z); long double complex ctanhl(long double complex z); float complex ctanhf(float complex z); DESCRIPTION
ctanh(z) computes the hyperbolic tangent of the complex floating-point number z. For all complex floating point numbers z, ctanh(conj(z)) = conj(ctanh(z)), ctanh(-z) = -ctanh(z). SPECIAL VALUES
The symmetries of ctanh() are used to abbreviate the specification of special values. ctanh(0 + 0i) returns 0 + 0i. ctanh(0 + inf i) returns NaN + NaN i, and raises the invalid flag. ctanh(0 + NaN i) returns NaN + NaN i. ctanh(x + inf i) returns NaN + NaN i, and raises the invalid flag, for finite nonzero x. ctanh(x + NaN i) returns NaN + NaN i, for finite nonzero x. ctanh(inf + 0i) returns 1 + 0i. ctanh(inf + yi) returns 1 +- 0i, for finite positive y, with the sign chosen to match the sign of sin(2y). ctanh(inf + inf i) returns 1 + 0i. ctanh(inf + NaN i) returns 1 + 0i. ctanh(NaN + 0i) returns NaN + 0i. ctanh(NaN + yi) returns NaN + NaN i, for nonzero numbers y. ctanh(NaN + NaN i) returns NaN + NaN i. NOTES
SEE ALSO
ctan(3) complex(3) STANDARDS
The ctanh() function conforms to ISO/IEC 9899:2011. 4th Berkeley Distribution December 11, 2006 4th Berkeley Distribution

Check Out this Related Man Page

CTANH(3)						   BSD Library Functions Manual 						  CTANH(3)

NAME
ctanh -- complex hyperbolic tangent function SYNOPSIS
double complex ctanh(double complex z); long double complex ctanhl(long double complex z); float complex ctanhf(float complex z); DESCRIPTION
ctanh(z) computes the hyperbolic tangent of the complex floating-point number z. For all complex floating point numbers z, ctanh(conj(z)) = conj(ctanh(z)), ctanh(-z) = -ctanh(z). SPECIAL VALUES
The symmetries of ctanh() are used to abbreviate the specification of special values. ctanh(0 + 0i) returns 0 + 0i. ctanh(0 + inf i) returns NaN + NaN i, and raises the invalid flag. ctanh(0 + NaN i) returns NaN + NaN i. ctanh(x + inf i) returns NaN + NaN i, and raises the invalid flag, for finite nonzero x. ctanh(x + NaN i) returns NaN + NaN i, for finite nonzero x. ctanh(inf + 0i) returns 1 + 0i. ctanh(inf + yi) returns 1 +- 0i, for finite positive y, with the sign chosen to match the sign of sin(2y). ctanh(inf + inf i) returns 1 + 0i. ctanh(inf + NaN i) returns 1 + 0i. ctanh(NaN + 0i) returns NaN + 0i. ctanh(NaN + yi) returns NaN + NaN i, for nonzero numbers y. ctanh(NaN + NaN i) returns NaN + NaN i. NOTES
SEE ALSO
ctan(3) complex(3) STANDARDS
The ctanh() function conforms to ISO/IEC 9899:2011. 4th Berkeley Distribution December 11, 2006 4th Berkeley Distribution
Man Page

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

parsing rows

Hi, I have a file that looks like this (tab seperated): Barry -3 -4 -5 -10 -4 6 -8 20 -6 NaN NaN NaN Brend -2 4 -3 -7 -3 8 -9 -10 -6 NaN NaN NaN NaN NaN Harry -10 -9 -40 6 -7 3 -7 -2 -5 NaN NaN NaN NaN NaN NaN NaN I want to print the first column... (4 Replies)
Discussion started by: gisele_l
4 Replies

2. UNIX for Dummies Questions & Answers

paste two tables of different sizes and fill blanks with NaN

Hello, I am pasting two tables of 6x4 and 4x4 together to get a 10x8 output. I want to fill the blank values with a NaN (Not a Number). How can I do this? Thanks, Guss (3 Replies)
Discussion started by: Gussifinknottle
3 Replies

3. Shell Programming and Scripting

Use sed/awk to do like copy and paste

I have rrd file which is have the gaps and I want to fill it out with some value , I've got 10 NaN record and I try to populate data from 10 records be for NaN to change instead of NaN :( <!-- 2016-05-19 14:10:00 CST / 1463638200 -->... (11 Replies)
Discussion started by: boobytrap
11 Replies

4. UNIX for Beginners Questions & Answers

awk replace cells with NaN/delete if condition

Hello, I will like to delete/replace $3 with NaN. condition $3>-2000 (file1.dat) to produce out.dat. I want to retain the structure of the table. I use this code, this output only $3. Any idea on how to modify this code. Thank you. awk -v OFS='' '{for(i=1; i<=NF; i++) if ($i > -2000 || $i ==" >... (4 Replies)
Discussion started by: geomarine
4 Replies