![]() |
replace_top2_with_imre | Function (ROM Call 0x559) |
AMS 2.02 or higher | estack.h |
void replace_top2_with_imre (ESI expr); |
Replace the two top-most expressions on the EStack by a complex number.
The following code:
push_quantum(VAR_A_TAG); ptr = top_estack; push_quantum(VAR_B_TAG); replace_top2_with_imre(ptr);will leave the a + b * i expression on the EStack.
next_expression_index(top_estack)
.