ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

jn_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 doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.