W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2000

IEEE datatypes

From: Peter Zingg <pzingg@imsisoft.com>
Date: Thu, 2 Nov 2000 09:05:16 -0800
To: <www-xml-schema-comments@w3.org>
Message-ID: <002201c044ef$133b74b0$0204040a@ZINGG99>
Would it be possible to also include an IEEE bit-exact encoding for float
and double types, in addition to the base-10 encodings in the

I mean, some binary or base64 version that matches the 4-byte IEEE standard
for floats, and the 8-byte IEEE standard for doubles?  Every conversion from
binary to base-10 and back causes rounding errors...   Perhaps the exact
value could be encoded using binary or base64, and an "alt", human-readable
value could be shown in base-10 for informational purposes only...


Peter Zingg
75 Rowland Way
Novato, CA 94945
Received on Thursday, 2 November 2000 12:06:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:49 UTC