Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Floating point questions   Message List  
Reply | Forward Message #14669 of 15019 |
Re: [gbadev] Floating point questions

Hi all,

Thanks for your comments, but please assume that I DO want to use floating
point operations and not fixed point. There are only two operations that I'm
interested in, addition and integer conversion. Is it possible at all to get
these simple (to me) instructions fast on the AGB?

Regards,

Martijn


----- Original Message -----
From: "Tomas Hallenberg" <tomha219@...>
To: <gbadev@yahoogroups.com>
Sent: Thursday 11 December 2003 15:30
Subject: Re: [gbadev] Floating point questions


> I don't see the reason for using any floating point arithmetics if
> that's all you want to do. To begin with you'll only have integer
> results unless you also have floating point constants, but then you
> could do it with fixed point instead with good precision.
>
> Martijn Reuvers wrote:
> > Hi,
> >
> > I want to do two floating point operations: addition/substraction and
> > integer conversion. Is there any info on how fast these two operations
are
> > on the AGB since it hasn't any FP hardware? How many instructions,
cycles?
> > If it's really slow, does anyone know a fast trick to do these two
> > operations?
> >
> > Regards,
> >
> > Martijn Reuvers
>
> --
> http://dreamcache.mine.nu
>
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>






Thu Dec 11, 2003 3:13 pm

martijntwotr...
Offline Offline
Send Email Send Email

Forward
Message #14669 of 15019 |
Expand Messages Author Sort by Date

Hi, I want to do two floating point operations: addition/substraction and integer conversion. Is there any info on how fast these two operations are on the AGB...
Martijn Reuvers
martijntwotr...
Offline Send Email
Dec 11, 2003
2:14 pm

I don't see the reason for using any floating point arithmetics if that's all you want to do. To begin with you'll only have integer results unless you also...
Tomas Hallenberg
tomha219@...
Send Email
Dec 11, 2003
2:51 pm

Hi all, Thanks for your comments, but please assume that I DO want to use floating point operations and not fixed point. There are only two operations that I'm...
Martijn Reuvers
martijntwotr...
Offline Send Email
Dec 12, 2003
12:44 am

Sure, gcc and most other compilers use software floating point operations if you dont have the hardware (well you have to tell the compiler which way to do...
David Welch
dwelchgba
Offline Send Email
Dec 12, 2003
4:15 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help