Package java.lang

Class 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
      StrictMath()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      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 Detail

      • StrictMath

        public StrictMath()
    • Method Detail

      • 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)