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 / 102
101  |  103
Subject: 
Re: NQC floating point library?
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Sun, 15 Aug 1999 22:57:13 GMT
Viewed: 
2129 times
  
In article <FGHMzu.64o@lugnet.com>, "Jim Knepley" <jknepley@chisp.net> wrote:

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

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 really need floatin point math, however, consider looking at legOS
instead.

Dave Baum

--
reply to: dbaum at enteract dot com



Message is in Reply To:
  NQC floating point library?
 
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 (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