Re: A86: Floating Points


[Prev][Next][Index][Thread]

Re: A86: Floating Points



In a message dated 97-09-26 17:43:00 EDT, you write:

> 
>     I am trying to develop a Missle Commander type game.  How do you do
>  floating points (to make the missles move at a certain angle)?
>  							- Ricci E. Adams
>  			 	  			  ricci@chipsnet.com
>  							
  
Take a look at ti86ops.inc and ti86math.inc.

Another alternative would be to use a table, which would probably be
quicker...  You could create a table of tangents that either stores 1000*tan
x as a word, or stores a 10 byte real (but then, you'd be back to using
f.p's...).  I'm not sure how to go about using 1000*tan x in word format, but
it should be quicker if you can think of a way...

~Stephen Hicks