dummy include files for compatibility with Microsoft POSIX
[reactos.git] / posix / include / math.h
1 /* $Id: math.h,v 1.2 2002/02/20 09:17:54 hyperion Exp $
2 */
3 /*
4 * math.h
5 *
6 * mathematical declarations. Conforming to the Single UNIX(r)
7 * Specification Version 2, System Interface & Headers Issue 5
8 *
9 * This file is part of the ReactOS Operating System.
10 *
11 * Contributors:
12 * Created by KJK::Hyperion <noog@libero.it>
13 *
14 * THIS SOFTWARE IS NOT COPYRIGHTED
15 *
16 * This source code is offered for use in the public domain. You may
17 * use, modify or distribute it freely.
18 *
19 * This code is distributed in the hope that it will be useful but
20 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
21 * DISCLAMED. This includes but is not limited to warranties of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23 *
24 */
25 #ifndef __MATH_H_INCLUDED__
26 #define __MATH_H_INCLUDED__
27
28 /* INCLUDES */
29 #ifdef __PSXDLL__
30
31 /* headers for internal usage by psxdll.dll and ReactOS */
32
33 #else /* ! __PSXDLL__ */
34
35 /* standard POSIX headers */
36
37 #endif
38
39 /* OBJECTS */
40
41 /* TYPES */
42
43 /* CONSTANTS */
44 #define M_E ((double) 2.7182818285) /* Value of e */
45 #define M_LOG2E ((double) 1.4426950419) /* Value of log2(e) */
46 #define M_LOG10E ((double) 0.4342944819) /* Value of log10(e) */
47 #define M_LN2 ((double)-0.6931471806) /* Value of loge2 */
48 #define M_LN10 ((double) 2.3025850929) /* Value of loge10 */
49 #define M_PI ((double) 3.1415926536) /* Value of Pi */
50 #define M_PI_2 ((double) 1.5707963268) /* Value of Pi/2 */
51 #define M_PI_4 ((double) 0.7853981634) /* Value of Pi/4 */
52 #define M_1_PI ((double) 0.3183098862) /* Value of 1/Pi */
53 #define M_2_PI ((double) 0.6366197724) /* Value of 2/Pi */
54 #define M_2_SQRTPI ((double) 1.1283791671) /* Value of 2/Sqrt(Pi) */
55 #define M_SQRT2 ((double) 1.4142135624) /* Value of Sqrt(2) */
56 #define M_SQRT1_2 ((double) 0.7071067812) /* Value of Sqrt(1/2) */
57
58 /* PROTOTYPES */
59
60 /* MACROS */
61
62 #endif /* __MATH_H_INCLUDED__ */
63
64 /* EOF */
65