Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenjn_yn.c
Go to the documentation of this file.
00001 #include <math.h> 00002 #include <float.h> 00003 #include "ieee754/ieee754.h" 00004 00005 typedef int fpclass_t; 00006 fpclass_t _fpclass(double __d); 00007 int *_errno(void); 00008 00009 /* 00010 * @unimplemented 00011 */ 00012 double _jn(int n, double num) 00013 { 00014 /* FIXME: errno handling */ 00015 return __ieee754_jn(n, num); 00016 } 00017 00018 /* 00019 * @implemented 00020 */ 00021 double _yn(int order, double num) 00022 { 00023 double retval; 00024 if (!_finite(num)) *_errno() = EDOM; 00025 retval = __ieee754_yn(order,num); 00026 if (_fpclass(retval) == _FPCLASS_NINF) 00027 { 00028 *_errno() = EDOM; 00029 retval = sqrt(-1); 00030 } 00031 return retval; 00032 } Generated on Sun May 27 2012 04:36:28 for ReactOS by
1.7.6.1
|