To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 100
99  |  101
Subject: 
NQC floating point library?
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Sun, 15 Aug 1999 04:01:32 GMT
Viewed: 
1833 times
  
I have a need to do floating point math in the RCX, but NQC only seems to
natively support integers.  Is there a floating point library for NQC?

Jim



Message has 2 Replies:
  Re: NQC floating point library?
 
I don't think the rcx supports floating point, but you could scale by a certain amount to do the math. Jim Knepley wrote in message ... (...) (25 years ago, 15-Aug-99, to lugnet.robotics.rcx.nqc)
  Re: NQC floating point library?
 
(...) Sorry, the standard RCX firmware doesn't support anything other than signed 16 bit integer math, so NQC doesn't do floating point. Depending upon the problem, you may still be able to convert the operation into appropriate integer math. If you (...) (25 years ago, 15-Aug-99, to lugnet.robotics.rcx.nqc)

3 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