Methods Summary |
---|
public com.android.dexgen.rop.type.Type | getType(){@inheritDoc}
return Type.FLOAT;
|
public float | getValue()Gets the {@code float} value.
return Float.intBitsToFloat(getIntBits());
|
public static com.android.dexgen.rop.cst.CstFloat | make(int bits)Makes an instance for the given value. This may (but does not
necessarily) return an already-allocated instance.
/*
* Note: Javadoc notwithstanding, this implementation always
* allocates.
*/
return new CstFloat(bits);
|
public java.lang.String | toHuman(){@inheritDoc}
return Float.toString(Float.intBitsToFloat(getIntBits()));
|
public java.lang.String | toString(){@inheritDoc}
int bits = getIntBits();
return "float{0x" + Hex.u4(bits) + " / " +
Float.intBitsToFloat(bits) + '}";
|
public java.lang.String | typeName(){@inheritDoc}
return "float";
|