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 / 4768
    Arithmatic operation —Javaid Iqbal
   Hi all, I am dividing 4.1 by 4.1 in following manner and getting answer 2. instead of 1. Dividing 4.2 by 4.2 give 1 result, dividing 4.6 by 4.6 again give 2. Except 4.1 and 4.6 rest all numbers give 1 result. I am using IC 3.2. Any help in this (...) (26 years ago, 20-Nov-98, to lugnet.robotics.handyboard)
   
        Re: Arithmatic operation —Rick Moll
   (...) I've asked for help with the floating point bugs in IC before, and nobody seems to care. Unfortunately, I've come to not use IC floating point variables at all, since I can't trust them. It's all very frustrating since none of the IC versions (...) (26 years ago, 21-Nov-98, to lugnet.robotics.handyboard)
   
        Re: Arithmatic operation —Justin Daniel Gullotta
   if you are not trying to divide numbers of great precision(many significant figures), then you can try multiplying by some order of 10, performing your division, then dividing by that same order of 10. i have used this before, but not for the same (...) (26 years ago, 22-Nov-98, to lugnet.robotics.handyboard)
   
        Re: Arithmatic operation —Joe Marie J. Maja
   (...) Yes, you are right. But I think this should be address by the software programmer. joema (26 years ago, 23-Nov-98, to lugnet.robotics.handyboard)
 

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