comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: MOD operator
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: MOD operator [message #22035 is a reply to message #22034] Tue, 17 October 2000 00:00 Go to previous messageGo to previous message
arkos is currently offline  arkos
Messages: 11
Registered: July 1998
Junior Member
> I was wondering if the result of the MOD operator in IDL changed
> from previous versions (4.x, 5.0) to the current version (5.3.1).
> Now the output is:
>
> IDL> PRINT, (FINDGEN(8)-4.) MOD 3
> -1.00000 0.000000 -2.00000 -1.00000 0.000000
> 1.00000 2.00000 0.000000

For what it's worth, running the following on IDL 5.3 on a PowerMac:

IDL> PRINT, (FINDGEN(8)-4.) MOD 3
-1.00000 -0.00000 -2.00000 -1.00000 0.00000
1.00000 2.00000
0.00000

Cheers,

-- Greg

--
Gregory G. Arkos Institute for Space Research
arkos@NOSPAMphys.ucalgary.ca Department of Physics and Astronomy
Voice : +1 403 220 6958 The University of Calgary
FAX : +1 403 282 5016 Calgary, Alberta, CANADA T2N 1N4
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Fast Warping Routines in IDL?
Next Topic: Re: PV-WAVE 7.00 GUI's

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 20:28:26 PDT 2025

Total time taken to generate the page: 1.60034 seconds