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

Home » Public Forums » archive » Re: MODULO operator
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: MODULO operator [message #8692] Mon, 07 April 1997 00:00
Thomas A. McGlynn is currently offline  Thomas A. McGlynn
Messages: 23
Registered: March 1996
Junior Member
Werner Muehlmann wrote:
>
> Try this one:
>
> print, 1.0 MOD 0.1
> 0.10000
> print, 1.0 MOD 0.2
> 0.20000
> print, 1.0 MOD 0.5
> 0.0
> print, 10.0 MOD 1.0
> 0.0

Wow, it's behaving as if 0.1 and 0.2 don't have
exact binary representations.... (:.

Tom McGlynn
tam@silk.gsfc.nasa.gov
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Default vector font size under X
Next Topic: MODULO operator

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

Current Time: Fri Oct 10 09:07:09 PDT 2025

Total time taken to generate the page: 1.04435 seconds