[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Classic game LUNAR and G=1E-03
On May 4, 12:16 pm, lyricalnan...@dosius.ath.cx (Steve Nickolas)
wrote:
> Nama wrote:
> > On May 4, 10:14 am, sicklittlemonkey <nick.westg...@gmail.com> wrote:
> >> On May 4, 11:49 am, Nama <forums6...@mac.com> wrote:
>
> >> > Can anyone help me with what 1E-03 means, and if there is another way
> >> > to express it?
>
> >> Exponential notation where aEb = a * (10 ^ b).
> >> So G=0.001
>
> >> Cheers,
> >> Nick.
>
> > Thanks guys,
> > That seemed to allow me to enter the line...can anyone explain what
> > the '!' mark means in this case.
>
> > seems when I run the program and input the same burn rates as seen
> > here:
>
> >http://www.atariarchives.org/basicgames/showpage.php?page=106
>
> > ...the outputs are different for the FT and MPH!
>
> If it's from an IBM dialect, ! means single precision float (the default
> type in fpbasic).
>
> -uso.
Ok...that makes sense.
So one last question before I can say this port is finished:
According to the document here (http://www.atariarchives.org/
basicgames/showpage.php?page=106):
(Q-Q*Q/2-Q^3/3-Q^4/4-Q^5/5)
can be replaced by the notation
-Q*(1+Q*(1/2+Q*(1/3+Q*(1/4+Q/5))))
If that is the case, then what would be the replacement for:
(Q/2+Q^2/6+Q^3/12+Q^4/20+Q^5/30)
???
Thanks in advance
Phil