[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


sinh

Compute the hyperbolic sine.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <math.h>

double sinh(double x);
float sinhf(float x);
long double sinhl(long double x);
Parameters:

Parameters for this function are:

x  
float, double or long double  
value to be computed  

Return:

sinh() returns the hyperbolic sine of x.

Remarks:

A range error can occur if the absolute value of the argument is to large.

See Also:

"Inlined Intrinsics Option"

"cosh"

"tanh"

sinh() example:
#include <stdio.h>
#include <math.h>

int main(void)
{
	double x = 0.5;
	printf("Hyperbolic sine of %f is %f.\n", x, sinh(x));

	return 0;
}

Output:
Hyperbolic sine of 0.500000 is 0.521095.


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000