00001 00002 #ifndef CH_CONSTANTS_C_H 00003 #define CH_CONSTANTS_C_H 00004 00005 00006 #define zero (0.0e0) 00007 #define one (1.0e0) 00008 #define two (2.0e0) 00009 #define three (3.0e0) 00010 #define four (4.0e0) 00011 #define five (5.0e0) 00012 #define six (6.0e0) 00013 #define seven (7.0e0) 00014 #define eight (8.0e0) 00015 #define nine (9.0e0) 00016 #define ten (10.0e0) 00017 #define twelve (12.0e0) 00018 #define fifteen (15.0e0) 00019 #define sixteen (16.0e0) 00020 #define twenty (20.0e0) 00021 #define tenth (0.100e0) 00022 #define eighth (0.125e0) 00023 #define sixth (1.000e0 / 6.000e0) 00024 #define fourth (0.250e0) 00025 #define third (1.000e0 / 3.000e0) 00026 #define half (0.500e0) 00027 #define twothird (2.000e0 / 3.000e0) 00028 #define threehalf (1.5e0) 00029 #define fivehalf (2.5e0) 00030 #define Pi (3.14159265358979323846e0) 00031 #define tiny (1.e-10) 00032 #define small (1.e-6) 00033 #define thousandth (1.0e-3) 00034 #define hundredth (1.0e-2) 00035 #define sixty (6.0e1) 00036 #define hundred (1.0e2) 00037 #define thousand (1.0e3) 00038 00039 #define ZERO (0.0e0) 00040 #define ONE (1.0e0) 00041 #define TWO (2.0e0) 00042 #define THREE (3.0e0) 00043 #define FOUR (4.0e0) 00044 #define FIVE (5.0e0) 00045 #define SIX (6.0e0) 00046 #define SEVEN (7.0e0) 00047 #define EIGHT (8.0e0) 00048 #define NINE (9.0e0) 00049 #define TEN (10.0e0) 00050 #define TWELVE (12.0e0) 00051 #define FIFTEEN (15.0e0) 00052 #define SIXTEEN (16.0e0) 00053 #define TWENTY (20.0e0) 00054 #define TENTH (0.100e0) 00055 #define EIGHTH (0.125e0) 00056 #define SIXTH (1.000e0 / 6.000e0) 00057 #define FOURTH (0.250e0) 00058 #define THIRD (1.000e0 / 3.000e0) 00059 #define HALF (0.500e0) 00060 #define TWOTHIRD (2.000e0 / 3.000e0) 00061 #define THREEHALF (1.5e0) 00062 #define FIVEHALF (2.5e0) 00063 #define PI (3.14159265358979323846e0) 00064 #define TINY (1.e-10) 00065 #define SMALL (1.e-6) 00066 #define THOUSANDTH (1.0e-3) 00067 #define HUNDREDTH (1.0e-2) 00068 #define SIXTY (6.0e1) 00069 #define HUNDRED (1.0e2) 00070 #define THOUSAND (1.0e3) 00071 00072 00073 #endif