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 == 0x3ff0000000000000L ) { mv . visitInsn ( Opcodes . DCONST_0 + ( int ) value ) ; } else { mv . visitLdcInsn ( value ) ; } }
generates the instruction to push the given value on the stack .
