public final class FMath extends Object
Constructor and Description 

FMath() 
Modifier and Type  Method and Description 

static int 
ceil(double d)
Returns the smallest integral value that is not less than the
argument.

static int 
ceil(float f)
Returns the smallest integral value that is not less than the
argument.

static int 
floor(double d)
Returns the largest integral value that is not greater than the
argument.

static int 
floor(float f)
Returns the largest integral value that is not greater than the
argument.

static double 
max(double d1,
double d2)
Returns the maximum value of the two arguments.

static float 
max(float f1,
float f2)
Returns the minimum value of the two arguments.

static double 
min(double d1,
double d2)
Returns the minimum value of the two arguments.

static float 
min(float f1,
float f2)
Returns the minimum value of the two arguments.

static int 
round(double d)
Returns the integral value closest to the argument.

static int 
round(float f)
Returns the integral value closest to the argument.

public static int floor(float f)
public static int floor(double d)
public static int ceil(float f)
public static int ceil(double d)
public static int round(float f)
public static int round(double d)
public static float min(float f1, float f2)
public static double min(double d1, double d2)
public static float max(float f1, float f2)
public static double max(double d1, double d2)
Copyright © 2015–2017 Fiji. All rights reserved.