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

Home » Public Forums » archive » Going outside the interger limits
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Going outside the interger limits [message #40958] Tue, 21 September 2004 04:22 Go to previous message
lloyd is currently offline  lloyd
Messages: 16
Registered: February 2003
Junior Member
Hi all,

Have been muddling about with this problem for the past weeek, and I'm
hoping someone can help.

I'm creating an atmospheric transmission model for the sub-mm/far
infrared region. If I try to calculate the spectrum between 1 and 500
wavenumbers (numbers are not important) and I set a high resolution,
the end of the spectrum does not seem to have had spectral line data
applied to it.

Having looked at where this is happening (at about point number
32700), it lies at the point where an integer runs outside it's
limits. Inside the code, if a spectral line value is negative then it
gets ignored, hence why I'm assuming (well guessing really) that this
is the problem.

I have been through my code and converted as much as I can see into
either a long or a float depending on what it needs to be.

Still getting problems!

I was wondering whether there is anyway to tell in IDL if an integer
is trying to go outside it's limits? Such as !except = 2, or is there
a compiler switch which would break the execution if this problem was
encountered (the latter would be very handy).

Thanks for any help,

Lloyd Watkin
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: obtaining a structure's name
Next Topic: Using GCTP in IDL instead of MAP_SET

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

Current Time: Sat Oct 11 16:11:31 PDT 2025

Total time taken to generate the page: 2.08195 seconds