Create a branch for audio work

svn path=/branches/audio-bringup/; revision=49478
This commit is contained in:
Timo Kreuzer 2010-11-05 11:04:48 +00:00
parent 26c20f3857
commit 5eb25b5c24
20759 changed files with 0 additions and 1141005 deletions

30
lib/sdk/crt/math/j1_y1.c Normal file
View file

@ -0,0 +1,30 @@
#include <math.h>
typedef int fpclass_t;
fpclass_t _fpclass(double __d);
int *_errno(void);
/*
* @unimplemented
*/
double _j1(double num)
{
/* FIXME: errno handling */
return j1(num);
}
/*
* @implemented
*/
double _y1(double num)
{
double retval;
if (!isfinite(num)) *_errno() = EDOM;
retval = y1(num);
if (_fpclass(retval) == _FPCLASS_NINF)
{
*_errno() = EDOM;
retval = sqrt(-1);
}
return retval;
}