read_exdr and not-a-number

From: josh singer <josh.singer_at_parc-technologies.com>
Date: Fri 13 Jul 2001 01:25:10 PM GMT
Message-ID: <0B9686DD2E83D411B67200508B9A9DA220A70A@LON-SRV2>
The IEEE 754 standard for floating-point representation, which is
implemented by Java includes a special not-a-number value (NaN) which is
supposed to be returned when you divide 0.0 by 0.0. According to the
Java language specification, the 64-bit NaN is represented by the
following bits:

0x7ff8000000000000

When read_exdr reads a NaN output by Java, it returns -0.0. Since there
is (apparently) no concept of NaN in Eclipse, perhaps read_exdr should
throw an exception if it comes across these bits??

josh

Developer, Parc Technologies Limited
josh.singer@parc-technologies.com
http://www.parc-technologies.com

This e-mail message is for the sole use of the intended recipient(s)
-its contents are the property of Parc Technologies Limited (or its
licensors) and are confidential. Please do not copy, review, use
(except for the intended purposes), disclose or distribute the e-mail
or its contents (or allow anyone else to do so) without our prior
permission. Parc Technologies Limited does not guarantee that this
e-mail has not been intercepted and amended nor that it is
virus-free. You should carry out your own virus checks before opening
any attachment.  Any opinions expressed in this e-mail message are
those of the author and not necessarily Parc Technologies Limited.
Received on Fri Jul 13 14:25:04 2001

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:08 PM GMT GMT