Subject:
|
Re: modulo in legOS 2.4 ?
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Thu, 24 May 2001 21:31:39 GMT
|
Viewed:
|
1735 times
|
| |
| |
-----Original Message-----
From: Ciaran Jessup <ciaranjessup@myrealbox.com>
To: lugnet.robotics.rcx.legos@lugnet.com
<lugnet.robotics.rcx.legos@lugnet.com>
Date: 24. mai 2001 22:39
Subject: Re: modulo in legOS 2.4 ?
> do you mean 3mod3 = 0 or mod(-3)=mod(3)= 3 ?
>
> If you mean the first then you want the %age operator, otherwise you want an
> 'abs' function
> not sure if legOS supports this as doesn't support floats(entirely), but you
> can always write a quick function... please tell me if I'm wrong, I can
> program but my maths is not what it should be ;)
> - Ciaran
ah, i mean the first function :)
thnx for the information
kenneth johansen
kennethj@stud.cs.uit.no
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|