Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: floats on 060
Posted by: dml Jan,31.2014-17:35 

re: Quick reply - that cable attached to my head has its downside. (it was just luck - if you believe that)


I'd say fixedpoint is always a win if what you are doing is simple, affine stuff with a known numerical range. e.g. interpolating colours, screen positions or whatever.

Floating point becomes more useful when:

a) you need to turn fixedpoint into floating point anyway, at some stage of the calc.
b) your numerical range is highly nonlinear / exponential (e.g. divides, 1/z spaces for zbuffers etc).
c) you need shifting and other extra steps for the fixedpoint version to normalize things

Generally, at some point you'll want floating point for complex 3D stuff, and the more you use it, the more uses you'll find for it which don't work well the fixedpoint :-) It sorta works like that.

So keep fixedpoint in your back pocket, but definitely explore floats on 060.










[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
floats on 060 deez Jan,31.2014-16:53
  Re: floats on 060 dml Jan,31.2014-16:59
    Re: floats on 060 deez Jan,31.2014-17:14
      Re: floats on 060 dml Jan,31.2014-17:35
        Re: floats on 060 dml Jan,31.2014-17:55
          Re: floats on 060 deez Feb,04.2014-14:07
  Re: floats on 060 Thomas / New Beat Feb,03.2014-09:27
    Re: floats on 060 mOdder Feb,03.2014-22:48
      Re: floats on 060 deez Feb,04.2014-15:00
    Re: floats on 060 deez Feb,04.2014-14:08
  Re: floats on 060 mikro Feb,04.2014-11:17
    Re: floats on 060 dml Feb,04.2014-16:27
      Re: floats on 060 sqward Feb,07.2014-02:53


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson