To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1899
1898  |  1900
Subject: 
Re: problem with floating point numbers (legOS 0.2.5)
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sat, 26 May 2001 22:10:09 GMT
Viewed: 
1515 times
  
Laurent Bancon <bancon@sm.u-bordeaux2.fr> wrote:
Here are two programs I've compiled and downloaded into my RCX. The first one
works fine whereas the second doesn't (no music). Since the only difference
between them is the type of the variable "number", I'm worrying about the
ability of the system RCX/LegOS to handle floating point numbers.

You are the second person to report something like this, so there must be
something wrong somewhere.  I will take a closer look at this when I get a
chance.  I am busy until Tuesday though.  I know I will forget, so keep
e-mailing me until I fix it (starting Tuesday)!

-Kekoa
kekoa@graphics.stanford.edu



Message has 2 Replies:
  Re: problem with floating point numbers (legOS 0.2.5)
 
(...) Actually, the problem seems to come with gcc 2.96 (recent installation of Red Hat 7.1). My program runs without any problem on an other PC with gcc 2.95. I have forced the system to use egcs, re-built everything, and now it works fine. (23 years ago, 29-May-01, to lugnet.robotics.rcx.legos)
  Re: problem with floating point numbers (legOS 0.2.5)
 
(...) In my legOS setup (legOS0.2.5, SuSE linux 7.0), all programs work as expected. Have you changed something lately in the float-library? Or are there different versions of the gcc crsosscompiler chain? Mike (23 years ago, 29-May-01, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  problem with floating point numbers (legOS 0.2.5)
 
Hi Here are two programs I've compiled and downloaded into my RCX. The first one works fine whereas the second doesn't (no music). Since the only difference between them is the type of the variable "number", I'm worrying about the ability of the (...) (24 years ago, 25-May-01, to lugnet.robotics.rcx.legos)

7 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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