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 / 1514
1513  |  1515
Subject: 
Math
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sun, 12 Nov 2000 17:44:52 GMT
Viewed: 
1338 times
  
Hi
What math functions are available under legOS? I can get the usual +-/ and *
to work, but not powers or square roots. Are these math functions available
and what others e.g. sine, cosine etc?
I thought it would be standard C stuff like pow and sqrt, but they don't
appear to work and I can't find a header file with any math functions in.
Not that I like the stuff or anything ;-)just need to use it.
Thanks
Mike



Message has 2 Replies:
  Re: Math
 
(...) Most math functions aren't available. They would require so much computing power, and so few people would use them, that they probably aren't worth the code space in the kernel. You could probably find some sample implementations of pow and (...) (24 years ago, 12-Nov-00, to lugnet.robotics.rcx.legos)
  Re: Math
 
Mike, You may have to look at writing your own. I know there's a libmint (integer math) library, but I'm currently at work, and can't check what else is there. Maybe need a libm to put all math functins in?? ROSCO mike mcfarlane (...) (24 years ago, 12-Nov-00, to lugnet.robotics.rcx.legos)

4 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