git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
update for HEAD-2003091401
[reactos.git]
/
lib
/
msvcrt
/
math
/
sinh.c
1
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2
#include <msvcrt/math.h>
3
4
/*
5
* @implemented
6
*/
7
double sinh(double x)
8
{
9
if(x >= 0.0)
10
{
11
const double epos = exp(x);
12
return (epos - 1.0/epos) / 2.0;
13
}
14
else
15
{
16
const double eneg = exp(-x);
17
return (1.0/eneg - eneg) / 2.0;
18
}
19
}