URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 148 |
Rev 158 |
|
|
/* @(#)z_asin.c 1.0 98/08/13 */
|
/* @(#)z_asin.c 1.0 98/08/13 */
|
/******************************************************************
|
/******************************************************************
|
* Arcsine
|
* Arcsine
|
*
|
*
|
* Input:
|
* Input:
|
* x - floating point value
|
* x - floating point value
|
*
|
*
|
* Output:
|
* Output:
|
* arcsine of x
|
* arcsine of x
|
*
|
*
|
* Description:
|
* Description:
|
* This routine returns the arcsine of x.
|
* This routine returns the arcsine of x.
|
*
|
*
|
*****************************************************************/
|
*****************************************************************/
|
|
|
#include "fdlibm.h"
|
#include "fdlibm.h"
|
#include "zmath.h"
|
#include "zmath.h"
|
|
|
#ifndef _DOUBLE_IS_32BITS
|
#ifndef _DOUBLE_IS_32BITS
|
|
|
double
|
double
|
_DEFUN (asin, (double),
|
_DEFUN (asin, (double),
|
double x)
|
double x)
|
{
|
{
|
return (asine (x, 0));
|
return (asine (x, 0));
|
}
|
}
|
|
|
#endif /* _DOUBLE_IS_32BITS */
|
#endif /* _DOUBLE_IS_32BITS */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.