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

Home » Public Forums » archive » Re: min/max routines
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: min/max routines [message #7403] Wed, 13 November 1996 00:00 Go to previous message
meron is currently offline  meron
Messages: 51
Registered: July 1995
Member
In article <328A0DE2.11F@lanl.gov>, Dot Delapp <ddelapp@lanl.gov> writes:
> Is there a routine similar to the fortran and c min max functions
> that returns the max or min of two numbers?
>
You don't need a routine. Given two numbers, a and b, the statement

c = a > b

gives the max of the two, while

c = a < b

gives the min.

Mati Meron | "When you argue with a fool,
meron@cars.uchicago.edu | chances are he is doing just the same"
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Inverse of POLYFILLV
Next Topic: Inverse of POLYFILLV

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

Current Time: Wed Oct 08 18:03:41 PDT 2025

Total time taken to generate the page: 0.00236 seconds