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

Home » Public Forums » archive » Commutativity of multiplication
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
Commutativity of multiplication [message #50990] Wed, 25 October 2006 13:24
Sven Geier is currently offline  Sven Geier
Messages: 17
Registered: July 2002
Junior Member
There's something odd afoot with ULong variables (in 6.3) that isn't clear
to me:

IDL> help,f,g,h
F LONG = 500
G ULONG = 1
H FLOAT = 1.00000
IDL> help,f*h,h*f
<Expression> FLOAT = 500.000
<Expression> FLOAT = 500.000
IDL> help,f*g,g*f
<Expression> LONG = 500
<Expression> ULONG = 500


Is this a bug? A feature? Well-known gotcha? Obscure property? Recently
added functionality? Vestigial peculiarity?


- S


--
http://www.sgeier.net
My real email address does not contain any "Z"s.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: passing multiple commands to idl from command line
Next Topic: Redirecting stderr?

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

Current Time: Wed Oct 08 15:26:19 PDT 2025

Total time taken to generate the page: 0.00496 seconds