java.lang.Object
io.qt.core.QtNumeric
File provides common numeric functions
Java wrapper for Qt namespace QtNumeric
-
Method Summary
Modifier and TypeMethodDescriptionstatic long
qFloatDistance
(double a, double b) static int
qFloatDistance
(float a, float b) static int
qFpClassify
(double val) static int
qFpClassify
(float val) static double
qInf()
SeeqInf()
static boolean
qIsFinite
(double d) static boolean
qIsFinite
(float f) SeeqIsFinite(float)
static boolean
qIsInf
(double d) SeeqIsInf(double)
static boolean
qIsInf
(float f) SeeqIsInf(float)
static boolean
qIsNaN
(double d) SeeqIsNaN(double)
static boolean
qIsNaN
(float f) SeeqIsNaN(float)
static double
qQNaN()
SeeqQNaN()
static double
qSNaN()
SeeqSNaN()
-
Method Details
-
qFloatDistance
public static long qFloatDistance(double a, double b) - Parameters:
a
-b
-- Returns:
-
qFloatDistance
public static int qFloatDistance(float a, float b) - Parameters:
a
-b
-- Returns:
-
qFpClassify
public static int qFpClassify(double val) - Parameters:
val
-- Returns:
-
qFpClassify
public static int qFpClassify(float val) - Parameters:
val
-- Returns:
-
qInf
public static double qInf()See
qInf()
- Returns:
-
qIsFinite
public static boolean qIsFinite(double d) - Parameters:
d
-- Returns:
-
qIsFinite
public static boolean qIsFinite(float f) See
qIsFinite(float)
- Parameters:
f
-- Returns:
-
qIsInf
public static boolean qIsInf(double d) See
qIsInf(double)
- Parameters:
d
-- Returns:
-
qIsInf
public static boolean qIsInf(float f) See
qIsInf(float)
- Parameters:
f
-- Returns:
-
qIsNaN
public static boolean qIsNaN(double d) See
qIsNaN(double)
- Parameters:
d
-- Returns:
-
qIsNaN
public static boolean qIsNaN(float f) See
qIsNaN(float)
- Parameters:
f
-- Returns:
-
qQNaN
public static double qQNaN()See
qQNaN()
- Returns:
-
qSNaN
public static double qSNaN()See
qSNaN()
- Returns:
-