Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.amiga » SPF routines speed up math?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
SPF routines speed up math? [message #123341] Tue, 12 November 1985 23:56 Go to next message
rick1 is currently offline  rick1
Messages: 6
Registered: October 1985
Karma: 0
Junior Member
Article-I.D.: sbcs.13
Posted: Tue Nov 12 23:56:21 1985
Date-Received: Fri, 15-Nov-85 06:47:54 EST
Distribution: net
Organization: Computer Science Dept, SUNY@Stony Brook
Lines: 31

Bobp of AMIGA posted  a very   informative  program a couple of weeks ago. It
showed how to use the FFP  routines  rather than  the compiler generated ieee
floating point math. The posting was  extremely  helpful to me (and should be
to you) since the manual set  (V1.0) talks  about  the assemply language int-
erface but not the C language interface (for  the routines bobp illustrated).

Is there a difference between using  ieee  or ffp  floats? Bobp said that the
speed differential would be approximately 10 times in favor of ffp. Well,   I
was writting an animation demo  which,  in its digital scene generation, used
floating point heavily. Factor of ten? Definately.

I can render three-d smooth shaded  objects  at a very comfortable rate where
using ieee format math, my  grandmother could  grow some lemons and then make
them into lemonade in the time it took to render objects.

The routines are tricky to get used  to. One thing that threw me for a little
while was the order  of operands for  routines which are not operand commuta-
tive (like division).

My advice is to learn how to use the ffp routines asap if you are to use much
floating point in your work.

Bobp: could you post a sumary of the routines and there operand ordering?

Anyone: could someone write a subroutine to generate the sound of steel balls
	(like pinballs) colliding? I need it badly to add the finishing touch
	to my demo and without a sound editor I'm pretty much lost. I'll pass
	you a boolean flag describing which side I want the sound to come out
	on. I am not using sound otherwise.

I'll post the demo after someone helps me out with the sound. Thanks.
Ooops! Re: SPF routines speed up math? [message #123342 is a reply to message #123341] Wed, 13 November 1985 00:00 Go to previous message
rick1 is currently offline  rick1
Messages: 6
Registered: October 1985
Karma: 0
Junior Member
Article-I.D.: sbcs.14
Posted: Wed Nov 13 00:00:10 1985
Date-Received: Fri, 15-Nov-85 06:48:09 EST
References: <13@sbcs.UUCP>
Distribution: net
Organization: Computer Science Dept, SUNY@Stony Brook
Lines: 10

Sorry, I forgot to say  who I was. Could someone send a subroutine for
generating the sound of steels balls hitting each other on the left or
right speaker to:

				Perry S. Kivolowitz
				philabs!sbcs!rick1
				or
				the WELL, ihnp4!ptfsa!well!perry

Sorry for the second note.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: commercialism and net.micro.amiga going the way of .mac
Next Topic: Re: net.sources.amiga - (Lets make it a SOURCE group if we do it)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Tue Apr 16 10:12:38 EDT 2024

Total time taken to generate the page: 0.09119 seconds