List of utility methods to do sqr
String | sqRightFunction(int databaseType, String expr, int length) sq Right Function if (databaseType == 2 || databaseType == 5) return "substr(" + expr + ",-" + length + ")"; return "right(" + expr + "," + length + ")"; |
double | sqrt(double a) Returns the correctly rounded positive square root of a double value. return Math.sqrt(a);
|
double | sqrt(double d) sqrt if (d == 0D) return 0D; else if (d == 1D) return 1D; else return Math.sqrt(d); |
double | sqrt(double n) sqrt return Math.round(n);
|
double | sqrt(double value) sqrt return Math.sqrt(value);
|
double | sqrt(double value) Fast sqrt method. double sqrt = Double.longBitsToDouble(((Double.doubleToLongBits(value) - (1l << 52)) >> 1) + (1l << 61)); return (sqrt + value / sqrt) / 2.0; |
double | sqrt(double x, int precision) sqrt if (x == 0) return 0; double root = x / 2; for (int k = 0; k < precision; k++) root = (root + (x / root)) / 2; return root; |
int | sqrt(final double i) Returns rounded square root for the specified integer number. return (int) Math.round(Math.sqrt(i)); |
double | sqrt(final double x) sqrt return x * inverseSqrt(x);
|
float | sqrt(float a) sqrt return (float) Math.sqrt(a); |