To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 12842
    NQC with C++ header file —Yiu
   Could we include C++ header file into NQC? say, <math.h> if not, how could we increase the mathematical power of NQC? Yiu (24 years ago, 20-Oct-00, to lugnet.robotics)
   
        Re: NQC with C++ header file —Dave Baum
   (...) What specifically do you have in mind? The limitation is going to be from the firmware bytecodes...no floating point, no transcendentals, no math larger than 16 bits. Switching over to legOS would give you floating point, but still no (...) (24 years ago, 25-Oct-00, to lugnet.robotics)
   
        RE: NQC with C++ header file —Ralph Hempel
     (...) Bah! We don't need no stinkin floating point. Here are a few approximations to real and transcendental numbers that you can make by dividing signed integers - the error is gennerally less that 1 in 1,000,000 pi 355 /113 sqrt(2) 19601 / 13860 e (...) (24 years ago, 25-Oct-00, to lugnet.robotics)
   
        RE: NQC with C++ header file —John Barnes
   Absolutely! You'd be amazed at what can be done with 16 bit integer arithmetic if you operate at some suitable scale factor, depending upon the requirements - x10, x100, x16, x256. It depends on the ease with which you can shift and/or divide. As (...) (24 years ago, 25-Oct-00, to lugnet.robotics)
 

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