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


asin

Arcsine function.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <math.h>

double asin(double x);
float asinf(float);
long double asinl(long double);
Parameters:

Parameters for this function are:

x  
float, double or long double  
value to be computed  

Remarks:

This function computes the arc values of sine.

The function asin() may set errno to EDOM if the argument is not in the range of -1 to +1. See "Floating point error testing.," for information on newer error testing procedures.

See "Example of acos(), asin(), atan(), atan2() usage." for example usage.

Return:

The function asin() returns the arcsine of x in radians. If the argument to asin() is not in the range of -1 to +1, the global variable errno may be set to EDOM and returns 0. See "Floating point error testing.," for information on newer error testing procedures.

See Also:

"Inlined Intrinsics Option"

"sin"

"errno"


[ 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