public void push(final double value) {
        long bits = Double.doubleToLongBits(value);
        if (bits == 0L || bits == 0x3ff0000000000000L) { // +0.0d and 1.0d
            mv.visitInsn(Opcodes.DCONST_0 + (int) value);
        } else {
            mv.visitLdcInsn(value);
        }
    }
public void push(final double value) {
        long bits = Double.doubleToLongBits(value);
        if (bits == 0L || bits == 0x3ff0000000000000L) { 
            mv.visitInsn(Opcodes.DCONST_0 + (int) value);
        } else {
            mv.visitLdcInsn(value);
        }
    }
public void push ( final double value ) { long bits = Double . doubleToLongBits ( value ) ; if ( bits == 0L || bits == 0x3ff0000000000000 L ) { // +0.0d and 1.0d mv . visitInsn ( Opcodes . DCONST_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 .