math.ULP implements a binding to the Java function {@link java.lang.Math#ulp(double) Math.ulp(double)}. Given a single data atom it Returns the size of an ulp of the argument.
Parameters:
value - DataAtom [double].
Return Value:
DataAtom [double]
Return Schema:
ULP_inputSchema
Example:
register math.jar; A = load 'mydata' using PigStorage() as ( float1 ); B = foreach A generate float1, math.ULP(float1);
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.