Jurassic.Compiler.DynamicILGenerator.LoadDouble C# (CSharp) Method

LoadDouble() public method

Pushes a constant value onto the stack.
public LoadDouble ( double value ) : void
value double The number to push onto the stack.
return void
        public override void LoadDouble(double value)
        {
            // ldc.r8 = 23 <float64>
            Emit1ByteOpCodeInt64(0x23, 0, 1, BitConverter.DoubleToInt64Bits(value));

            // The instruction pushes a value onto the stack.
            PushStackOperand(VESType.Float);
        }
DynamicILGenerator