File: Math.t

package info (click to toggle)
tom 1.1.1-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 6,340 kB
  • ctags: 2,244
  • sloc: objc: 27,863; ansic: 9,804; sh: 7,411; yacc: 3,377; lex: 966; asm: 208; makefile: 62; cpp: 10
file content (53 lines) | stat: -rw-r--r-- 1,485 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<copyright> C Math class.
    Written by <a href="mailto:tiggr@ics.ele.tue.nl">Pieter J. Schoenmakers</a>

    Copyright &copy; 1995, 1996 Pieter J. Schoenmakers.

    This file is part of TOM.  TOM is distributed under the terms of the
    TOM License, a copy of which can be found in the TOM distribution; see
    the file LICENSE.

    <id>$Id: Math.t,v 1.7 1998/01/05 00:40:59 tiggr Exp $</id>  </copyright>

implementation class Math

extern double hypot (double, double) (x, y);
extern double lgamma double x;

/* Error functions. */
extern double erf double x;
extern double erfc double x;

/* Bessel functions. */
extern double j0 double x;
extern double j1 double x;
extern double jn (int, double) (x, n);
extern double y0 double x;
extern double y1 double x;
extern double yn (int, double) (x, n);

extern double acos double x;
extern double asin double x;
extern double atan double x;
extern double atan2 (double, double) (x, y);
extern double cos double x;
extern double sin double x;
extern double tan double x;
extern double cosh double x;
extern double sinh double x;
extern double tanh double x;
extern double exp double x;
extern double ldexp (double, int) (x, n);
extern double log double x;
extern double log10 double x;
extern double pow (double, double) (x, y);
extern double sqrt double x;
extern double ceil double x;
extern double fabs double x;
extern double floor double x;
extern double fmod (double, double) (x, y);

end;

implementation instance Math
end;