To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3051
3050  |  3052
Subject: 
RE: Float and int
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 30 Dec 2002 15:06:50 GMT
Reply-To: 
<rhempel@bmts.SPAMLESScom>
Viewed: 
2648 times
  
But doing float with the brick is s-l-o-w, better avoid it if you can.

Mabie Fixed Point is an answer. I dont know how it works but I have a book
that suggests that a decent Fixed Point library can be faster than Floating
Point if there isnt an FPU available.

I'm doing a seminar at BricksWest on fixed point notation and simple
algorithms for square root, trig, etc for BrickOS and pbForth users.

The focus will be on the mechanics of the algorithms, the actual code
implementation will be a "exercise for the reader" :-)

Cheers, Ralph Hempel



Message is in Reply To:
  Re: Float and int
 
(...) Mabie Fixed Point is an answer. I dont know how it works but I have a book that suggests that a decent Fixed Point library can be faster than Floating Point if there isnt an FPU available. (22 years ago, 30-Dec-02, to lugnet.robotics.rcx.legos)

6 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR