src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java
public void push(final float value) {
        int bits = Float.floatToIntBits(value);
        if (bits == 0L || bits == 0x3f800000 || bits == 0x40000000) { // 0..2
            mv.visitInsn(Opcodes.FCONST_0 + (int) value);
        } else {
            mv.visitLdcInsn(value);
        }
    }
public void push(final float value) {
        int bits = Float.floatToIntBits(value);
        if (bits == 0L || bits == 0x3f800000 || bits == 0x40000000) { // 0..2
            mv.visitInsn(Opcodes.FCONST_0 + (int) value);
        } else {
            mv.visitLdcInsn(value);
        }
    }
public void push ( final float value ) { int bits = Float . floatToIntBits ( value ) ; if ( bits == 0L || bits == 0x3f800000 || bits == 0x40000000 ) { // 0..2 mv . visitInsn ( Opcodes . FCONST_0 + ( int ) value ) ; } else { mv . visitLdcInsn ( value ) ; } }
Generates the instruction to push the given value on the stack.

@param value
the value to be pushed on the stack.
Generates the instruction to push the given value on the stack .