Or, Double.NaN...
static double NaN A Not-a-Number (NaN) value of type double. -bob On Mon, 18 Mar 2002, Elliotte Rusty Harold wrote: > At 9:35 AM +0100 3/18/02, Jérôme Nègre wrote: > > > >I think one must use a java.lang.Double in order to use NaN. > > > > Nope. NaN is a legal value for a double. There's no literal for it, > but if you try something like > > double x = Math.sqrt(-1); > > x will be set to NaN. > -- > > +-----------------------+------------------------+-------------------+ > | Elliotte Rusty Harold | [EMAIL PROTECTED] | Writer/Programmer | > +-----------------------+------------------------+-------------------+ > | The XML Bible, 2nd Edition (Hungry Minds, 2001) | > | http://www.cafeconleche.org/books/bible2/ | > | http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/ | > +----------------------------------+---------------------------------+ > | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | > | Read Cafe con Leche for XML News: http://www.cafeconleche.org/ | > +----------------------------------+---------------------------------+ > > _______________________________________________ > Jaxen-interest mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jaxen-interest > _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest