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 / 1896
1895  |  1897
Subject: 
Re: modulo in legOS 2.4 ?
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Thu, 24 May 2001 21:31:39 GMT
Viewed: 
1581 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
    

Custom Search

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