io.qt.core.QtNumeric Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.core;
import io.qt.*;
/**
* File provides common numeric functions
* Java wrapper for Qt namespace QtNumeric
*/
public final class QtNumeric
{
static {
QtJambi_LibraryUtilities.initialize();
}
private QtNumeric() throws java.lang.InstantiationError { throw new java.lang.InstantiationError("Cannot instantiate namespace QtNumeric."); }
/**
* See qFloatDistance(double, double)
*/
public native static long qFloatDistance(double a, double b);
/**
* See qFloatDistance(float, float)
*/
public native static int qFloatDistance(float a, float b);
/**
*
*/
public native static int qFpClassify(double val);
/**
*
*/
public native static int qFpClassify(float val);
/**
* See qInf()
*/
public native static double qInf();
/**
*
*/
public native static boolean qIsFinite(double d);
/**
* See qIsFinite(float)
*/
public native static boolean qIsFinite(float f);
/**
* See qIsInf(double)
*/
public native static boolean qIsInf(double d);
/**
* See qIsInf(float)
*/
public native static boolean qIsInf(float f);
/**
* See qIsNaN(double)
*/
public native static boolean qIsNaN(double d);
/**
* See qIsNaN(float)
*/
public native static boolean qIsNaN(float f);
/**
* See qQNaN()
*/
public native static double qQNaN();
/**
* See qSNaN()
*/
public native static double qSNaN();
}