Changeset 756 in Sophya for trunk/SophyaLib/NTools/nbmath.h
- Timestamp:
- Mar 2, 2000, 5:22:08 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/nbmath.h
r244 r756 5 5 6 6 #include "machdefs.h" 7 #include "smathconst.h" 7 8 8 9 #ifdef __cplusplus … … 10 11 #endif 11 12 12 /* EA conflit entre les diverses copies de nbmath.h, nbconst.h... A nettoyer... */13 #undef Pi14 #undef Pis215 #undef DeuxPi16 #undef SPi17 #undef S2Pi18 #undef Rac219 #undef Log220 #undef LnPi21 #undef LgPi22 #undef Ln1023 #undef DftoDm24 #undef Hln2pi25 #undef JourSec26 #undef AnSec27 28 #undef GRAND29 #undef GRAND230 #undef IGRAND31 32 #define Pi (double) ( 3.14159265358979310e+00) /* c'est Pi */33 #define Pis2 (double) (1.57079632679489655) /* c'est Pi/2 */34 #define DeuxPi (double) ( 6.28318530717958620e+00) /* c'est 2*Pi */35 #define SPi (double) ( 1.77245385090551590e+00) /* c'est sqrt(Pi) */36 #define S2Pi (double) ( 2.50662827463100020e+00) /* c'est sqrt(2*Pi) */37 #define Rac2 (double) ( 1.41421356237309510e+00) /* c'est sqrt(2) */38 #define Log2 (double) ( 3.01029995663981200e-01) /* c'est log10(2) */39 #define LnPi (double) ( 1.14472988584940020e+00) /* c'est ln(Pi) */40 #define LgPi (double) ( 4.97149872694133850e-01) /* c'est log10(Pi) */41 #define Ln10 (double) ( 2.30258509299404590e+00) /* c'est ln(10) */42 #define DftoDm (double) ( 1.08573620475812940e+00) /* c'est 2.5/ln(10) */43 #define Hln2pi (double) ( 9.18938533204672670e-01) /* c'est Ln(2*pi)/2 */44 45 #define JourSec (float) (86400.000000) /* nombre de secondes dans 24H */46 #define AnSec (int) (31557600) /* nombre de secondes dans 365.25 jours */47 48 #define GRAND (float) (1.e+35)49 #define GRAND2 (double) (1.e+35)50 #define IGRAND (int_4) (2147483647)51 13 52 14 /* pour le fit 1-dim */
Note:
See TracChangeset
for help on using the changeset viewer.