[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MOD operator
- Subject: Re: MOD operator
- From: Alex Schuster <alex(at)pet.mpin-koeln.mpg.de>
- Date: Tue, 17 Oct 2000 13:46:43 +0200
- Newsgroups: comp.lang.idl-pvwave
- Organization: Regional Computing Center, University of Cologne
- References: <39EC3083.7EBF20ED@fz-juelich.de>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:21744
Theo Brauers wrote:
> 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
I get the same output with IDL 4.0.1, 5.0, 5.1 and 5.2.1 on my Sun
running Solaris (except for the second result, which is -0.0 instead of
0.0).
Alex
--
Alex Schuster Wonko@weird.cologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de