Fortran 90 IEEE Question

Peter Shenkin uunet!still3.chem.columbia.edu!shenkin
Sat Feb 11 13:37:32 PST 1995


On Feb 10,  1:58pm, Thomas MacDonald wrote:

> Subject: Re: Fortran 90 IEEE Question
> ....  What I'm trying to find out is what's
> reasonable for:
> 
> 	X = NEAREST(HUGE, +1.0)  ! is this +infinity?
> 	Y = NEAREST(X, +1.0)     ! is this NaN?

Why shouldn't Y also be +infinity (assuming X is +infinity) ?

	-P.


-- 
************************ The secret of life: *************************
*Peter S. Shenkin, Box 768 Havemeyer Hall, Chemistry, Columbia Univ.,*
* New York, NY  10027;     shenkinacolumbia.edu;     (212) 854-5143  *
************* If you find a loose thread, don't pull it. *************




More information about the Numeric-interest mailing list