-
Notifications
You must be signed in to change notification settings - Fork 1
/
gsl_machine.h
104 lines (86 loc) · 3.72 KB
/
gsl_machine.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/* Author: B. Gough and G. Jungman */
#ifndef __GSL_MACHINE_H__
#define __GSL_MACHINE_H__
#include <limits.h>
#include <float.h>
/* magic constants; mostly for the benefit of the implementation */
/* -*-MACHINE CONSTANTS-*-
*
* PLATFORM: Whiz-O-Matic 9000
* FP_PLATFORM: IEEE-Virtual
* HOSTNAME: nnn.lanl.gov
* DATE: Fri Nov 20 17:53:26 MST 1998
*/
#define GSL_DBL_EPSILON 2.2204460492503131e-16
#define GSL_SQRT_DBL_EPSILON 1.4901161193847656e-08
#define GSL_ROOT3_DBL_EPSILON 6.0554544523933429e-06
#define GSL_ROOT4_DBL_EPSILON 1.2207031250000000e-04
#define GSL_ROOT5_DBL_EPSILON 7.4009597974140505e-04
#define GSL_ROOT6_DBL_EPSILON 2.4607833005759251e-03
#define GSL_LOG_DBL_EPSILON (-3.6043653389117154e+01)
#define GSL_DBL_MIN 2.2250738585072014e-308
#define GSL_SQRT_DBL_MIN 1.4916681462400413e-154
#define GSL_ROOT3_DBL_MIN 2.8126442852362996e-103
#define GSL_ROOT4_DBL_MIN 1.2213386697554620e-77
#define GSL_ROOT5_DBL_MIN 2.9476022969691763e-62
#define GSL_ROOT6_DBL_MIN 5.3034368905798218e-52
#define GSL_LOG_DBL_MIN (-7.0839641853226408e+02)
#define GSL_DBL_MAX 1.7976931348623157e+308
#define GSL_SQRT_DBL_MAX 1.3407807929942596e+154
#define GSL_ROOT3_DBL_MAX 5.6438030941222897e+102
#define GSL_ROOT4_DBL_MAX 1.1579208923731620e+77
#define GSL_ROOT5_DBL_MAX 4.4765466227572707e+61
#define GSL_ROOT6_DBL_MAX 2.3756689782295612e+51
#define GSL_LOG_DBL_MAX 7.0978271289338397e+02
#define GSL_FLT_EPSILON 1.1920928955078125e-07
#define GSL_SQRT_FLT_EPSILON 3.4526698300124393e-04
#define GSL_ROOT3_FLT_EPSILON 4.9215666011518501e-03
#define GSL_ROOT4_FLT_EPSILON 1.8581361171917516e-02
#define GSL_ROOT5_FLT_EPSILON 4.1234622211652937e-02
#define GSL_ROOT6_FLT_EPSILON 7.0153878019335827e-02
#define GSL_LOG_FLT_EPSILON (-1.5942385152878742e+01)
#define GSL_FLT_MIN 1.1754943508222875e-38
#define GSL_SQRT_FLT_MIN 1.0842021724855044e-19
#define GSL_ROOT3_FLT_MIN 2.2737367544323241e-13
#define GSL_ROOT4_FLT_MIN 3.2927225399135965e-10
#define GSL_ROOT5_FLT_MIN 2.5944428542140822e-08
#define GSL_ROOT6_FLT_MIN 4.7683715820312542e-07
#define GSL_LOG_FLT_MIN (-8.7336544750553102e+01)
#define GSL_FLT_MAX 3.4028234663852886e+38
#define GSL_SQRT_FLT_MAX 1.8446743523953730e+19
#define GSL_ROOT3_FLT_MAX 6.9814635196223242e+12
#define GSL_ROOT4_FLT_MAX 4.2949672319999986e+09
#define GSL_ROOT5_FLT_MAX 5.0859007855960041e+07
#define GSL_ROOT6_FLT_MAX 2.6422459233807749e+06
#define GSL_LOG_FLT_MAX 8.8722839052068352e+01
#define GSL_SFLT_EPSILON 4.8828125000000000e-04
#define GSL_SQRT_SFLT_EPSILON 2.2097086912079612e-02
#define GSL_ROOT3_SFLT_EPSILON 7.8745065618429588e-02
#define GSL_ROOT4_SFLT_EPSILON 1.4865088937534013e-01
#define GSL_ROOT5_SFLT_EPSILON 2.1763764082403100e-01
#define GSL_ROOT6_SFLT_EPSILON 2.8061551207734325e-01
#define GSL_LOG_SFLT_EPSILON (-7.6246189861593985e+00)
/* !MACHINE CONSTANTS! */
/* a little internal backwards compatibility */
#define GSL_MACH_EPS GSL_DBL_EPSILON
/* Here are the constants related to or derived from
* machine constants. These are not to be confused with
* the constants that define various precision levels
* for the precision/error system.
*
* This information is determined at configure time
* and is platform dependent. Edit at your own risk.
*
* PLATFORM: WHIZ-O-MATIC
* CONFIG-DATE: Thu Nov 19 19:27:18 MST 1998
* CONFIG-HOST: nnn.lanl.gov
*/
/* machine precision constants */
/* #define GSL_MACH_EPS 1.0e-15 */
#define GSL_SQRT_MACH_EPS 3.2e-08
#define GSL_ROOT3_MACH_EPS 1.0e-05
#define GSL_ROOT4_MACH_EPS 0.000178
#define GSL_ROOT5_MACH_EPS 0.00100
#define GSL_ROOT6_MACH_EPS 0.00316
#define GSL_LOG_MACH_EPS (-34.54)
#endif /* __GSL_MACHINE_H__ */