Class TStrictMath

java.lang.Object
org.teavm.classlib.java.lang.TObject
org.teavm.classlib.java.lang.TStrictMath

public final class TStrictMath extends TObject
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final double
     
    static final double
     
    static final double
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    abs(double a)
     
    static float
    abs(float a)
     
    static int
    abs(int a)
     
    static long
    abs(long a)
     
    static double
    acos(double a)
     
    static int
    addExact(int a, int b)
     
    static long
    addExact(long a, long b)
     
    static double
    asin(double a)
     
    static double
    atan(double a)
     
    static double
    atan2(double y, double x)
     
    static double
    cbrt(double a)
     
    static double
    ceil(double a)
     
    static double
    clamp(double value, double min, double max)
     
    static float
    clamp(float value, float min, float max)
     
    static int
    clamp(long value, int min, int max)
     
    static long
    clamp(long value, long min, long max)
     
    static double
    copySign(double magnitude, double sign)
     
    static float
    copySign(float magnitude, float sign)
     
    static double
    cos(double a)
     
    static double
    cosh(double x)
     
    static int
     
    static long
     
    static int
    divideExact(int a, int b)
     
    static long
    divideExact(long a, long b)
     
    static double
    exp(double a)
     
    static double
    expm1(double x)
     
    static double
    floor(double a)
     
    static int
    floorDiv(int a, int b)
     
    static long
    floorDiv(long a, int b)
     
    static long
    floorDiv(long a, long b)
     
    static int
    floorMod(int a, int b)
     
    static int
    floorMod(long a, int b)
     
    static long
    floorMod(long a, long b)
     
    static int
    getExponent(double d)
     
    static int
    getExponent(float f)
     
    static double
    hypot(double x, double y)
     
    static double
    IEEEremainder(double f1, double f2)
     
    static int
     
    static long
     
    static double
    log(double a)
     
    static double
    log10(double a)
     
    static double
    log1p(double x)
     
    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 int
    multiplyExact(int a, int b)
     
    static long
    multiplyExact(long a, int b)
     
    static long
    multiplyExact(long a, long b)
     
    static int
    negateExact(int a)
     
    static long
    negateExact(long a)
     
    static double
    nextAfter(double start, double direction)
     
    static float
    nextAfter(float start, double direction)
     
    static double
    nextUp(double d)
     
    static float
    nextUp(float f)
     
    static double
    pow(double a, double b)
     
    static double
     
    static double
    rint(double a)
     
    static long
    round(double a)
     
    static int
    round(float a)
     
    static double
    signum(double d)
     
    static float
    signum(float f)
     
    static double
    sin(double a)
     
    static double
    sinh(double x)
     
    static double
    sqrt(double a)
     
    static int
    subtractExact(int a, int b)
     
    static long
    subtractExact(long a, long b)
     
    static double
    tan(double a)
     
    static double
    tanh(double x)
     
    static double
    toDegrees(double angrad)
     
    static int
    toIntExact(long value)
     
    static double
    toRadians(double angdeg)
     
    static double
    ulp(double d)
     
    static float
    ulp(float f)
     

    Methods inherited from class org.teavm.classlib.java.lang.TObject

    clone, equals, equals0, finalize, getClass0, hashCode, notify0, notifyAll0, toString, wait0, wait0, waitImpl

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • Method Details

    • sin

      public static double sin(double a)
    • cos

      public static double cos(double a)
    • tan

      public static double tan(double a)
    • asin

      public static double asin(double a)
    • acos

      public static double acos(double a)
    • atan

      public static double atan(double a)
    • toRadians

      public static double toRadians(double angdeg)
    • toDegrees

      public static double toDegrees(double angrad)
    • exp

      public static double exp(double a)
    • log

      public static double log(double a)
    • log10

      public static double log10(double a)
    • sqrt

      public static double sqrt(double a)
    • cbrt

      public static double cbrt(double a)
    • IEEEremainder

      public static double IEEEremainder(double f1, double f2)
    • ceil

      public static double ceil(double a)
    • floor

      public static double floor(double a)
    • rint

      public static double rint(double a)
    • atan2

      public static double atan2(double y, double x)
    • pow

      public static double pow(double a, double b)
    • round

      public static int round(float a)
    • round

      public static long round(double a)
    • floorDiv

      public static int floorDiv(int a, int b)
    • floorDiv

      public static long floorDiv(long a, int b)
    • floorDiv

      public static long floorDiv(long a, long b)
    • floorMod

      public static int floorMod(int a, int b)
    • floorMod

      public static int floorMod(long a, int b)
    • floorMod

      public static long floorMod(long a, long b)
    • addExact

      public static int addExact(int a, int b)
    • addExact

      public static long addExact(long a, long b)
    • subtractExact

      public static int subtractExact(int a, int b)
    • subtractExact

      public static long subtractExact(long a, long b)
    • multiplyExact

      public static int multiplyExact(int a, int b)
    • multiplyExact

      public static long multiplyExact(long a, int b)
    • multiplyExact

      public static long multiplyExact(long a, long b)
    • divideExact

      public static int divideExact(int a, int b)
    • divideExact

      public static long divideExact(long a, long b)
    • incrementExact

      public static int incrementExact(int a)
    • incrementExact

      public static long incrementExact(long a)
    • decrementExact

      public static int decrementExact(int a)
    • decrementExact

      public static long decrementExact(long a)
    • negateExact

      public static int negateExact(int a)
    • negateExact

      public static long negateExact(long a)
    • toIntExact

      public static int toIntExact(long value)
    • random

      public static double random()
    • abs

      public static int abs(int a)
    • abs

      public static long abs(long a)
    • abs

      public static float abs(float a)
    • abs

      public static double abs(double a)
    • max

      public static int max(int a, int b)
    • max

      public static long max(long a, long b)
    • max

      public static float max(float a, float b)
    • max

      public static double max(double a, double b)
    • min

      public static int min(int a, int b)
    • min

      public static long min(long a, long b)
    • min

      public static float min(float a, float b)
    • min

      public static double min(double a, double b)
    • ulp

      public static double ulp(double d)
    • ulp

      public static float ulp(float f)
    • signum

      public static double signum(double d)
    • signum

      public static float signum(float f)
    • sinh

      public static double sinh(double x)
    • cosh

      public static double cosh(double x)
    • tanh

      public static double tanh(double x)
    • hypot

      public static double hypot(double x, double y)
    • expm1

      public static double expm1(double x)
    • log1p

      public static double log1p(double x)
    • copySign

      public static double copySign(double magnitude, double sign)
    • copySign

      public static float copySign(float magnitude, float sign)
    • getExponent

      public static int getExponent(float f)
    • getExponent

      public static int getExponent(double d)
    • nextAfter

      public static double nextAfter(double start, double direction)
    • nextAfter

      public static float nextAfter(float start, double direction)
    • nextUp

      public static double nextUp(double d)
    • nextUp

      public static float nextUp(float f)
    • clamp

      public static int clamp(long value, int min, int max)
    • clamp

      public static long clamp(long value, long min, long max)
    • clamp

      public static double clamp(double value, double min, double max)
    • clamp

      public static float clamp(float value, float min, float max)