Package java.lang

Class StrictMath

java.lang.Object
java.lang.StrictMath

public class StrictMath extends java.lang.Object
GWT doesn't support strict math, so we "emulate" it with non-strict math.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    atan2(double y, double x)
     
    static double
    cos(double a)
     
    static int
    round(float a)
     
    static double
    sin(double a)
     
    static double
    sqrt(double a)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StrictMath

      public StrictMath()
  • Method Details

    • atan2

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

      public static double cos(double a)
    • round

      public static int round(float a)
    • sin

      public static double sin(double a)
    • sqrt

      public static double sqrt(double a)