Module qtjambi
Package io.qt.core

Class QtNumeric

java.lang.Object
io.qt.core.QtNumeric

public final class QtNumeric extends Object

File provides common numeric functions

Java wrapper for Qt namespace QtNumeric

  • 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)
      Parameters:
      f -
      Returns:
    • qIsInf

      public static boolean qIsInf(double d)
      Parameters:
      d -
      Returns:
    • qIsInf

      public static boolean qIsInf(float f)
      Parameters:
      f -
      Returns:
    • qIsNaN

      public static boolean qIsNaN(double d)
      Parameters:
      d -
      Returns:
    • qIsNaN

      public static boolean qIsNaN(float f)
      Parameters:
      f -
      Returns:
    • qQNaN

      public static double qQNaN()
      Returns:
    • qSNaN

      public static double qSNaN()
      Returns: