Pioneer
WinMath.h
Go to the documentation of this file.
1 // Copyright © 2008-2023 Pioneer Developers. See AUTHORS.txt for details
2 // Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
3 
4 // Visit http://www.johndcook.com/stand_alone_code.html for the source of this code and more like it.
5 
6 #ifndef GAMMA_H
7 #define GAMMA_H
8 
9 // Note that the functions Gamma and LogGamma are mutually dependent.
10 double LogGamma(double);
11 double Gamma(double);
12 
13 #if defined(_MSC_VER) && (_MSC_VER <= 1700)
14 // http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/25c923af-a824-40f8-8fd4-e5574bc147af/
15 double asinh(double value);
16 
17 // http://stackoverflow.com/questions/15539116/atanh-arc-hyperbolic-tangent-function-missing-in-ms-visual-c
18 double atanh(double x); //implements: return (log(1+x) - log(1-x))/2
19 #endif
20 
21 #endif
double LogGamma(double)
Definition: WinMath.cpp:126
double Gamma(double)
Definition: WinMath.cpp:19