Package org.wso2.siddhi.extension.math
package org.wso2.siddhi.extension.math
-
ClassesClassDescriptionbin(a) This class wraps the java.lang.Integer.toBinaryString and java.lang.Long.toBinaryString methods, which return a string representation of the integer/long argument as an unsigned integer in base 2.ceil(a) Wraps java.lang.Math.ceil() Returns the smallest (closest to negative infinity) double value that is greater than or equal to the argument and is equal to a mathematical integer.conv(a,fromBase,toBase) convert the value from one base to other base.exp(a) Returns Euler's number e raised to the power of 'a' - the input argument Accept Type(s) :INT/LONG/FLOAT/DOUBLE Return Type(s): DOUBLEfloor(a) A Class which is used to calculate the floor value.get_exponent(a) Returns the unbiased exponent used in the representation of 'a' Accept Type(s) :INT/LONG/FLOAT/DOUBLE Return Type(s): INThex(a) Converts 'a' to hex Accept Type(s):INT,LONG,FLOAT,DOUBLE Return Type(s): STRINGoct(a) Converts 'a' to octal Accept Type(s):INT,LONG Return Type(s): STRINGAttributeAggregator which implements the following function.signum(a); Returns the sign of a as '1.0' (if a is positive) or '-1.0' (if a is negative), '0.0' otherwise.to_radians(a) Converts a from degrees to radians.