-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpconst.h
22 lines (22 loc) · 914 Bytes
/
pconst.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
c====================== include file "pconst.h" ========================
c
c
c rules for parameter constants
c
c use prefix of "c" for whole real numbers (eg: c57 for 57.0)
c use "m" after prefix to designate negative values (minus sign)
c (eg: cm7 for -7.0)
c use prefix of "p" for non repeating fractions (eg: p5 for 0.5)
c use prefix of "r" for reciprocals (eg: r3 for 1/3.0)
c combine use of prefix above and "e" for scientific notation, with
c (eg: c5e4 for 5.0e4, c1em10 for 1.0e-10)
c
parameter (c0=0.0, c1=1.0, c2=2.0, c3=3.0, c4=4.0, c5=5.0, c7=7.0)
parameter (c8=8.0)
parameter (c14=14.0, c16=16.0, c360=360.0)
parameter (p125=0.125, p25=0.25, p5=0.5, p75=0.75)
parameter (epsln=1.0e-20)
c
parameter (c24=24.0, c60=60.0, c1440=1440.0)
parameter (r24=c1/c24, r60=c1/c60, r1440=c1/c1440)
parameter (secday=c1/(c60*c1440))