Branch: Tag:

2004-12-15

2004-12-15 00:40:46 by Martin Nilsson <mani@lysator.liu.se>

Added isnan()

Rev: lib/modules/Float.pmod:1.5

1: - // $Id: Float.pmod,v 1.4 2003/11/12 19:17:24 mast Exp $ + // $Id: Float.pmod,v 1.5 2004/12/15 00:40:46 nilsson Exp $      #pike __REAL_VERSION__   
79:   //! configure flags @expr{--with-double-precision@} and   //! @expr{--with-long-double-precision@}. The default is to use the   //! longest available float type that fits inside a pointer. +  + //! Returns true if @[x] is nan. + int(0..1) isnan(float x) { return x!=x && floatp(x); }