List of usage examples for org.apache.commons.math3.util FastMath getExponent
public static int getExponent(final float f)
From source file:de.tuberlin.uebb.jbop.example.DerivativeStructure.java
/** * Return the exponent of the instance value, removing the bias. * <p>//ww w. j a va 2 s.c o m * For double numbers of the form 2<sup>x</sup>, the unbiased exponent is exactly x. * </p> * * @return exponent for instance in IEEE754 representation, without bias */ public int getExponent() { return FastMath.getExponent(data[0]); }