summaryrefslogtreecommitdiff
path: root/libjava/java/lang/Math.h
blob: 32707e9f8cd3966c8b61827f2a947c19d7ad80d2 (plain)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_lang_Math__
#define __java_lang_Math__

#pragma interface

#include <java/lang/Object.h>

class java::lang::Math : public ::java::lang::Object
{

  Math();
public:
  static jint abs(jint);
  static jlong abs(jlong);
  static jfloat abs(jfloat);
  static jdouble abs(jdouble);
  static jint min(jint, jint);
  static jlong min(jlong, jlong);
  static jfloat min(jfloat, jfloat);
  static jdouble min(jdouble, jdouble);
  static jint max(jint, jint);
  static jlong max(jlong, jlong);
  static jfloat max(jfloat, jfloat);
  static jdouble max(jdouble, jdouble);
  static jdouble sin(jdouble);
  static jdouble cos(jdouble);
  static jdouble tan(jdouble);
  static jdouble asin(jdouble);
  static jdouble acos(jdouble);
  static jdouble atan(jdouble);
  static jdouble atan2(jdouble, jdouble);
  static jdouble exp(jdouble);
  static jdouble log(jdouble);
  static jdouble sqrt(jdouble);
  static jdouble pow(jdouble, jdouble);
  static jdouble IEEEremainder(jdouble, jdouble);
  static jdouble ceil(jdouble);
  static jdouble floor(jdouble);
  static jdouble rint(jdouble);
  static jint round(jfloat);
  static jlong round(jdouble);
  static jdouble random();
  static jdouble toRadians(jdouble);
  static jdouble toDegrees(jdouble);
  static jdouble cbrt(jdouble);
  static jdouble cosh(jdouble);
  static jdouble expm1(jdouble);
  static jdouble hypot(jdouble, jdouble);
  static jdouble log10(jdouble);
  static jdouble log1p(jdouble);
  static jdouble signum(jdouble);
  static jfloat signum(jfloat);
  static jdouble sinh(jdouble);
  static jdouble tanh(jdouble);
  static jdouble ulp(jdouble);
  static jfloat ulp(jfloat);
private:
  static ::java::util::Random * rand;
public:
  static jdouble E;
  static jdouble PI;
  static ::java::lang::Class class$;
};

#endif // __java_lang_Math__