Re: A86: >Frac (Yes this has to do with assembly)
[Prev][Next][Index][Thread]
Re: A86: >Frac (Yes this has to do with assembly)
On Thu, 7 Jan 1999 02:12:21 EST TGaArdvark@aol.com writes:
>
>> The fraction is not saved as Ans, but you can do Disp A>Frac. This
>will
>> display the fraction. But the only place that I can think it would
>be
>> stored
>> is an In-calc variable, then deleted as soon as it is used.
>
>No, it's not "stored" in it's fraction form anywhere. Real-type
yeah, it is. the routine that basic uses temporarily stores the string
in op3 to display it. it's just not stored in any variables.
-josh
>variables can obviously not store something like "4/3". >Frac
>is just a complex display routine that takes the input, figures
>out the numerator and denominator, and then displays them
>on the next line. There's no way from basic to access the
>results. You have to make more complex math routines
>yourself. In asm, there's probably a ROM call that puts the
>numerator and denominator in registers or the OP registers
>but I don't know.
>
___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]