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

j0_y0.c
Go to the documentation of this file.
00001 #include <math.h>
00002 #include <float.h>
00003 #include "ieee754/ieee754.h"
00004 
00005 int *_errno(void);
00006 
00007 /*
00008  * @unimplemented
00009  */
00010 double _j0(double num)
00011 {
00012   if (!_finite(num)) *_errno() = EDOM;
00013   return __ieee754_j0(num);
00014 }
00015 
00016 /*
00017  * @implemented
00018  */
00019 double _y0(double num)
00020 {
00021   double retval;
00022   int fpclass = _fpclass(num);
00023 
00024   if (!_finite(num) || fpclass == _FPCLASS_NN ||
00025       fpclass == _FPCLASS_ND || fpclass == _FPCLASS_NZ)
00026     *_errno() = EDOM;
00027 
00028   retval  = __ieee754_y0(num);
00029   if (_fpclass(retval) == _FPCLASS_NINF)
00030   {
00031     *_errno() = EDOM;
00032     retval = sqrt(-1);
00033   }
00034   return retval;
00035 }

Generated on Sat May 26 2012 04:35:27 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.