| java.lang.Object org.python.core.ExtraMath
ExtraMath | public class ExtraMath (Code) | | A static utility class with two additional math functions.
|
Field Summary | |
public static double | CLOSE | public static double | EPSILON | public static double | LOG10 |
Method Summary | |
public static boolean | close(double v, double w, double tol) Are v and w "close" to each other? Uses a scaled tolerance. | public static boolean | close(double v, double w) | public static double | closeFloor(double v) | public static double | hypot(double v, double w) | public static double | log10(double v) |
CLOSE | public static double CLOSE(Code) | | |
EPSILON | public static double EPSILON(Code) | | |
LOG10 | public static double LOG10(Code) | | |
close | public static boolean close(double v, double w, double tol)(Code) | | Are v and w "close" to each other? Uses a scaled tolerance.
|
close | public static boolean close(double v, double w)(Code) | | |
closeFloor | public static double closeFloor(double v)(Code) | | Returns floor(v) except when v is very close to the next number, when it
returns ceil(v);
|
hypot | public static double hypot(double v, double w)(Code) | | |
log10 | public static double log10(double v)(Code) | | |
|
|