[A89] Re: Exponents
[Prev][Next][Index][Thread]
[A89] Re: Exponents
Thanks, I'm sure one of the three suggested methods will work.
Brett
----- Original Message -----
From: "Joel Thompson" <joelt49@yahoo.com>
To: <assembly-89@lists.ticalc.org>
Sent: Monday, June 17, 2002 12:21 PM
Subject: [A89] Re: Exponents
>
> WHAT? Scott didn't suggest the estack? Well, that is how I would do it. In
short, using the estack is exactly how the calculator works. So, to do 5^6,
you can do:
>
> push_shortint (6);
>
> push_shortint (5);
>
> push_quantum (POW_TAG);
>
> NG_rationalESI (top_estack);
>
> Will put 5^6 on the top of the estack, and you can display it with several
ways: Parse2DExpr, displaystatements, etc. You can do whatever the calc can
do. Look at the TIGCC docs of tags to see what you can do and the syntax.
>
>
>
> ---------------------------------
> Do You Yahoo!?
> Sign-up for Video Highlights of 2002 FIFA World Cup
>
>
References: