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

Home » Public Forums » archive » Re: Unsigned Integer Math Problem
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: Unsigned Integer Math Problem [message #70527] Wed, 21 April 2010 10:19 Go to previous message
jeanh is currently offline  jeanh
Messages: 79
Registered: November 2009
Member
> Clearly, I don't want the minimum x range value to be less
> than zero in this case, but I also don't want to force the
> value to be zero if the minimum I want is somewhat higher
> than this, say 1200. How do I test for this? Clearly, this
> does not work:
>
> min_xrange = (omin - binsize)> 0
>
> Since this number 64810 *is* larger than zero, and WRONG!

what about doing if (omin-binsize) gt omin then min_xrange=0

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: contour of 2D data
Next Topic: Re: Arc of a circle

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

Current Time: Wed Oct 08 15:06:51 PDT 2025

Total time taken to generate the page: 0.00469 seconds