| java.lang.Object com.caucho.quercus.module.AbstractQuercusModule com.caucho.quercus.lib.MathModule
Field Summary | |
final public static double | M_1_PI | final public static double | M_2_PI | final public static double | M_2_SQRTPI | final public static double | M_E | final public static double | M_EULER | final public static double | M_LN10 | final public static double | M_LN2 | final public static double | M_LNPI | final public static double | M_LOG10E | final public static double | M_LOG2E | final public static double | M_PI | final public static double | M_PI_2 | final public static double | M_PI_4 | final public static double | M_SQRT1_2 | final public static double | M_SQRT2 | final public static double | M_SQRT3 | final public static double | M_SQRTPI | final public static long | RAND_MAX |
Method Summary | |
public static Value | abs(Value value) | public static double | acos(double value) | public static Value | acosh(Env env, Value value) | public static Value | asin(Value value) | public static Value | asinh(Value value) | public static double | atan(double value) | public static double | atan2(double yV, double xV) | public static Value | atanh(Value value) | public static Value | base_convert(Env env, String number, int fromBase, int toBase) | public static long | bindec(StringValue bin) Returns the long value of an binary number.
Parameters: bin - A string represeantion of an binary number. | public static double | ceil(double value) | public static double | cos(double value) | public static double | cosh(double value) | public static String | decbin(long value) Returns a binary representation of a number. | public static String | dechex(long value) Returns a hexadecimal representation of a number. | public static String | decoct(long value) Returns an octal representation of a number. | public static double | deg2rad(double value) | public static Value | exp(Value value) | public static Value | expm1(Value value) | public static Value | floor(Value value) | public static double | fmod(double xV, double yV) | public static Value | getrandmax() | public static long | hexdec(StringValue s) | public static double | hypot(double a, double b) | public static boolean | is_finite(Value value) | public static Value | is_infinite(Value value) | public static Value | is_nan(Value value) | public static double | log(double value) | public static double | log10(double value) | public static double | log1p(double value) | public static Value | max(Env env, Value[] args) | public static Value | min(Env env, Value[] args) | public static Value | mt_getrandmax() | public static long | mt_rand(long min, long max) | public static Value | mt_srand(long seed) | public static long | octdec(StringValue oct) Returns the long value of an octal number.
Parameters: oct - A string represeantion of an octal number. | public static double | pi() | public static double | pow(double base, double exp) | public static double | rad2deg(double value) | public static long | rand(int min, int max) | public static double | round(double value, int precision) | public static double | sin(double value) | public static Value | sinh(Value value) | public static double | sqrt(double value) | public static Value | srand(long seed) | public static double | tan(double value) | public static double | tanh(double value) |
M_1_PI | final public static double M_1_PI(Code) | | |
M_2_PI | final public static double M_2_PI(Code) | | |
M_2_SQRTPI | final public static double M_2_SQRTPI(Code) | | |
M_E | final public static double M_E(Code) | | |
M_EULER | final public static double M_EULER(Code) | | |
M_LN10 | final public static double M_LN10(Code) | | |
M_LN2 | final public static double M_LN2(Code) | | |
M_LNPI | final public static double M_LNPI(Code) | | |
M_LOG10E | final public static double M_LOG10E(Code) | | |
M_LOG2E | final public static double M_LOG2E(Code) | | |
M_PI | final public static double M_PI(Code) | | |
M_PI_2 | final public static double M_PI_2(Code) | | |
M_PI_4 | final public static double M_PI_4(Code) | | |
M_SQRT1_2 | final public static double M_SQRT1_2(Code) | | |
M_SQRT2 | final public static double M_SQRT2(Code) | | |
M_SQRT3 | final public static double M_SQRT3(Code) | | |
M_SQRTPI | final public static double M_SQRTPI(Code) | | |
RAND_MAX | final public static long RAND_MAX(Code) | | |
acos | public static double acos(double value)(Code) | | |
atan | public static double atan(double value)(Code) | | |
atan2 | public static double atan2(double yV, double xV)(Code) | | |
base_convert | public static Value base_convert(Env env, String number, int fromBase, int toBase)(Code) | | |
bindec | public static long bindec(StringValue bin)(Code) | | Returns the long value of an binary number.
Parameters: bin - A string represeantion of an binary number. the decimal equivalent of the binary number throws: ArithmeticException - if the binary number cannot fit in a long |
ceil | public static double ceil(double value)(Code) | | |
cos | public static double cos(double value)(Code) | | |
cosh | public static double cosh(double value)(Code) | | |
decbin | public static String decbin(long value)(Code) | | Returns a binary representation of a number.
Parameters: value - the number |
dechex | public static String dechex(long value)(Code) | | Returns a hexadecimal representation of a number.
Parameters: value - the number |
decoct | public static String decoct(long value)(Code) | | Returns an octal representation of a number.
Parameters: value - the number |
deg2rad | public static double deg2rad(double value)(Code) | | |
fmod | public static double fmod(double xV, double yV)(Code) | | |
hypot | public static double hypot(double a, double b)(Code) | | |
is_finite | public static boolean is_finite(Value value)(Code) | | |
log | public static double log(double value)(Code) | | |
log10 | public static double log10(double value)(Code) | | |
log1p | public static double log1p(double value)(Code) | | |
mt_rand | public static long mt_rand(long min, long max)(Code) | | |
octdec | public static long octdec(StringValue oct)(Code) | | Returns the long value of an octal number.
Parameters: oct - A string represeantion of an octal number. the decimal equivalent of the octal number throws: ArithmeticException - if the octal number cannot fit in a long |
pi | public static double pi()(Code) | | |
pow | public static double pow(double base, double exp)(Code) | | |
rad2deg | public static double rad2deg(double value)(Code) | | |
rand | public static long rand(int min, int max)(Code) | | |
round | public static double round(double value, int precision)(Code) | | |
sin | public static double sin(double value)(Code) | | |
sqrt | public static double sqrt(double value)(Code) | | |
tan | public static double tan(double value)(Code) | | |
tanh | public static double tanh(double value)(Code) | | |
|
|