public final class Math extends Object
| Constructor and Description |
|---|
Math() |
| Modifier and Type | Method and Description |
|---|---|
static double |
abs(double a) |
static float |
abs(float a) |
static int |
abs(int a) |
static long |
abs(long a) |
static double |
ceil(double a) |
static double |
cos(double a) |
static double |
floor(double a) |
static double |
max(double a,
double b) |
static float |
max(float a,
float b) |
static int |
max(int a,
int b) |
static long |
max(long a,
long b) |
static double |
min(double a,
double b) |
static float |
min(float a,
float b) |
static int |
min(int a,
int b) |
static long |
min(long a,
long b) |
static double |
nextAfter(double start,
double direction) |
static float |
nextAfter(float start,
double direction) |
static double |
nextDown(double d) |
static long |
round(double d) |
static int |
round(float f) |
static double |
sin(double a) |
static double |
sqrt(double a) |
static double |
tan(double a) |
static double |
toDegrees(double angrad) |
static double |
toRadians(double angdeg) |
public static final double E
public static final double PI
public static double abs(double a)
public static float abs(float a)
public static int abs(int a)
public static long abs(long a)
public static double ceil(double a)
public static double cos(double a)
public static double floor(double a)
public static double max(double a,
double b)
public static float max(float a,
float b)
public static int max(int a,
int b)
public static long max(long a,
long b)
public static double min(double a,
double b)
public static float min(float a,
float b)
public static int min(int a,
int b)
public static long min(long a,
long b)
public static double sin(double a)
public static double sqrt(double a)
public static double tan(double a)
public static double toDegrees(double angrad)
public static double toRadians(double angdeg)
public static long round(double d)
public static int round(float f)
public static double nextDown(double d)
public static double nextAfter(double start,
double direction)
public static float nextAfter(float start,
double direction)
Copyright © 2026. All rights reserved.