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

Home » Public Forums » archive » Re: Basic Math: I _hope_ this is a stupid question
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: Basic Math: I _hope_ this is a stupid question [message #43840 is a reply to message #43752] Thu, 28 April 2005 06:15 Go to previous message
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
In article <1114641742.781488.240230@f14g2000cwb.googlegroups.com>,
"Ed Hyer" <ejhyer@gmail.com> wrote:

> Thanks all. I had encountered this before, and gotten used to writing
> for i=0l,bignumber (which I do a lot less of since I started read
> comp.lang.idl-pvwave), but I never knew exactly where the threshold
> was, and always sort of assumed it was somewhere up there, certainly
> not 32768. I guess that's why integer math is fast.

I think the best available approach is to include

COMPILE_OPT IDL2

in all functions and procedures, and your startup.pro. That makes LONG the
default integer type and requires the use of square brackets for array
subscripting (to avoid confusion with function references).

Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDLgrPolygon -TEXTURE_MAP question
Next Topic: overriding system functions.

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

Current Time: Mon Oct 13 07:04:08 PDT 2025

Total time taken to generate the page: 1.51887 seconds