Zephyr Scientific Library (zscilib)
consts.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019-2020 Kevin Townsend (KTOWN)
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
22 #ifndef ZEPHYR_INCLUDE_ZSL_CONSTS_H_
23 #define ZEPHYR_INCLUDE_ZSL_CONSTS_H_
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
33 #define ZSL_PERM_FREE_SPACE (8.85E-12)
34 
39 #define ZSL_UNIV_GRAV (6.67408E-11)
40 
45 #define ZSL_PI (3.14159265359)
46 
51 #define ZSL_GRAV_EARTH (9.807)
52 
57 #define ZSL_NUCL_RADIUS (1.25E-15)
58 
62 #define ZSL_E (2.71828182845)
63 
67 #define ZSL_PLANCK (6.62607015E-34)
68 
73 #define ZSL_RED_PLANCK (1.054571800E-34)
74 
79 #define ZSL_E_CHARGE (1.602176634E-19)
80 
85 #define ZSL_COULOMB (8.987551787E9)
86 
90 #define ZSL_E_MASS (9.1093835611E-31)
91 
95 #define ZSL_LIGHT_SPEED (299792458.0)
96 
100 #define ZSL_IDEAL_GAS_CONST (8.314462618)
101 
105 #define ZSL_DEG_TO_RAD (0.01745329252)
106 
110 #define ZSL_RAD_TO_DEG (57.295779513)
111 
112 #ifdef __cplusplus
113 }
114 #endif
115 
116 #endif /* ZEPHYR_INCLUDE_ZSL_CONSTS_H_ */
117  /* End of constants group */