[gfortran, patch] provide isfinite as a macro

Richard Henderson rth@redhat.com
Wed Aug 3 19:05:00 GMT 2005


On Wed, Aug 03, 2005 at 04:31:10PM +0200, François-Xavier Coudert wrote:
> +#define isfinite(x) (((x) == (x)) && ((2 * (x) != (x)) || ((x) == 0)))

Isn't ((x) - (x) == 0) a better definition?


r~



More information about the Fortran mailing list