public static StackValue AsDouble(this StackValue operand) { switch (operand.optype) { case AddressType.Int: return(StackValue.BuildDouble(operand.opdata)); case AddressType.Double: return(StackValue.BuildDouble(operand.opdata_d)); default: return(StackValue.Null); } }
public void Push(double val) { runtime.rmem.Push(StackValue.BuildDouble(val)); }