|
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 <mcfarlane_mike@*nospam*hotmail.com> wrote in message
news:G3xAMs.62B@lugnet.com...
> 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 1 Reply: | | Re: Math
|
| I received the following comments and code from Mike Ash, whose Lugnet 'connection' appears not to be working at present. Big thanks Mike. I've yet to try it, but it looks OK in theory. (...) Most math functions aren't available. They would require (...) (24 years ago, 14-Nov-00, to lugnet.robotics.rcx.legos)
|
Message is in Reply To:
| | Math
|
| 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 (...) (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
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|