To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 4205
  IC Floating Point Bug
 
I've been making use of floating point for the first time on the HB and am having problems. The following program demonstrates the kinds of bugs I've been encountering: ----(cut here)---...--- int main() { float a; float b; float c; /* This program (...) (26 years ago, 27-Jul-98, to lugnet.robotics.handyboard)
 
  Re: IC Floating Point Bug
 
(...) <snip> I get the same results with version 3.2. Curiously, if I remove the last digit in the a = 1.570796 statement (or replace it with a zero), then I get the correct answer. I guess it has something to do with specifying too many significant (...) (26 years ago, 28-Jul-98, to lugnet.robotics.handyboard)
 
  Re: IC Floating Point Bug
 
(...) If you notice, the constant is PI/2. If you add more significant digits you can even get "a/b" to become 0.5, that is twice the correct answer rather than half of it!!! The reason the bug concerns me so much is that since "a" and "b" print out (...) (26 years ago, 28-Jul-98, to lugnet.robotics.handyboard)
 
  RC Car Robot Base
 
All: I am trying to find a World Scale RC Car/Truck base for my robot. One of the items I have been looking at was the Thunder King RC Monster Truck from MRC/Tower Hobbies, but they have recently discontinued that part. Does anyone have any (...) (26 years ago, 8-Aug-98, to lugnet.robotics.handyboard)
 
  Re: RC Car Robot Base
 
Try this from Tamiya, they have a wide range of RC cars/trucks. www.tamiya.com (...) (26 years ago, 9-Aug-98, to lugnet.robotics.handyboard)

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