2 |
7u83 |
1 |
# Crown Copyright (c) 1997
|
|
|
2 |
#
|
|
|
3 |
# This TenDRA(r) Computer Program is subject to Copyright
|
|
|
4 |
# owned by the United Kingdom Secretary of State for Defence
|
|
|
5 |
# acting through the Defence Evaluation and Research Agency
|
|
|
6 |
# (DERA). It is made available to Recipients with a
|
|
|
7 |
# royalty-free licence for its use, reproduction, transfer
|
|
|
8 |
# to other parties and amendment for any purpose not excluding
|
|
|
9 |
# product development provided that any such use et cetera
|
|
|
10 |
# shall be deemed to be acceptance of the following conditions:-
|
|
|
11 |
#
|
|
|
12 |
# (1) Its Recipients shall ensure that this Notice is
|
|
|
13 |
# reproduced upon any copies or amended versions of it;
|
|
|
14 |
#
|
|
|
15 |
# (2) Any amended version of it shall be clearly marked to
|
|
|
16 |
# show both the nature of and the organisation responsible
|
|
|
17 |
# for the relevant amendment or amendments;
|
|
|
18 |
#
|
|
|
19 |
# (3) Its onward transfer from a recipient to another
|
|
|
20 |
# party shall be deemed to be that party's acceptance of
|
|
|
21 |
# these conditions;
|
|
|
22 |
#
|
|
|
23 |
# (4) DERA gives no warranty or assurance as to its
|
|
|
24 |
# quality or suitability for any purpose and DERA accepts
|
|
|
25 |
# no liability whatsoever in relation to any use to which
|
|
|
26 |
# it may be put.
|
|
|
27 |
#
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
$LINKAGE = "C++" ;
|
|
|
31 |
$NAMESPACE = "std" ;
|
|
|
32 |
+USE ("iso"), "math.h" ;
|
|
|
33 |
|
|
|
34 |
%%
|
|
|
35 |
float abs ( float ) ;
|
|
|
36 |
float acos ( float ) ;
|
|
|
37 |
float asin ( float ) ;
|
|
|
38 |
float atan ( float ) ;
|
|
|
39 |
float atan2 ( float, float ) ;
|
|
|
40 |
float ceil ( float ) ;
|
|
|
41 |
float cos ( float ) ;
|
|
|
42 |
float cosh ( float ) ;
|
|
|
43 |
float exp ( float ) ;
|
|
|
44 |
float fabs ( float ) ;
|
|
|
45 |
float floor ( float ) ;
|
|
|
46 |
float fmod ( float, float ) ;
|
|
|
47 |
float frexp ( float, int * ) ;
|
|
|
48 |
float modf ( float, float * ) ;
|
|
|
49 |
float ldexp ( float, int ) ;
|
|
|
50 |
float log ( float ) ;
|
|
|
51 |
float log10 ( float ) ;
|
|
|
52 |
float pow ( float, float ) ;
|
|
|
53 |
float pow ( float, int ) ;
|
|
|
54 |
float sin ( float ) ;
|
|
|
55 |
float sinh ( float ) ;
|
|
|
56 |
float sqrt ( float ) ;
|
|
|
57 |
float tan ( float ) ;
|
|
|
58 |
float tanh ( float ) ;
|
|
|
59 |
|
|
|
60 |
double abs ( double ) ;
|
|
|
61 |
double pow ( double, int ) ;
|
|
|
62 |
|
|
|
63 |
long double abs ( long double ) ;
|
|
|
64 |
long double acos ( long double ) ;
|
|
|
65 |
long double asin ( long double ) ;
|
|
|
66 |
long double atan ( long double ) ;
|
|
|
67 |
long double atan2 ( long double, long double ) ;
|
|
|
68 |
long double ceil ( long double ) ;
|
|
|
69 |
long double cos ( long double ) ;
|
|
|
70 |
long double cosh ( long double ) ;
|
|
|
71 |
long double exp ( long double ) ;
|
|
|
72 |
long double fabs ( long double ) ;
|
|
|
73 |
long double floor ( long double ) ;
|
|
|
74 |
long double fmod ( long double, long double ) ;
|
|
|
75 |
long double frexp ( long double, int * ) ;
|
|
|
76 |
long double modf ( long double, long double * ) ;
|
|
|
77 |
long double ldexp ( long double, int ) ;
|
|
|
78 |
long double log ( long double ) ;
|
|
|
79 |
long double log10 ( long double ) ;
|
|
|
80 |
long double pow ( long double, long double ) ;
|
|
|
81 |
long double pow ( long double, int ) ;
|
|
|
82 |
long double sin ( long double ) ;
|
|
|
83 |
long double sinh ( long double ) ;
|
|
|
84 |
long double sqrt ( long double ) ;
|
|
|
85 |
long double tan ( long double ) ;
|
|
|
86 |
long double tanh ( long double ) ;
|
|
|
87 |
%%
|