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

sinh.c
Go to the documentation of this file.
00001 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
00002 #include <math.h>
00003 
00004 #ifdef _MSC_VER
00005 #pragma function(sinh)
00006 #endif
00007 
00008 /*
00009  * @implemented
00010  */
00011 double sinh(double x)
00012 {
00013  if(x >= 0.0)
00014  {
00015    const double epos = exp(x);
00016    return (epos - 1.0/epos) / 2.0;
00017  }
00018  else
00019  {
00020    const double eneg = exp(-x);
00021    return (1.0/eneg - eneg) / 2.0;
00022  }
00023 }

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.