RE: I-D ACTION:draft-jaffer-metric-interchange-format-02.txt
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: I-D ACTION:draft-jaffer-metric-interchange-format-02.txt



Good overview, Jaffer. Am copying to general list too to draw attention to a
related issue of which I don't know of an adequate internet standard & for
which I had to invent my own representation.

I am into distributed engineering software development, & keeping precision
of floating point values is extremely important for me - even when they will
be transmitted over the net & across CPU architectures. Using printf()
format is guaranteed to lose precision, even though I can limit the loss by
giving lots of significant digits. Also, using a large number of significant
digits increases number of octets to be included in the message.

What I essentially do is transform the source CPU's native representation to
IEEE floating point representation; then print it out as a sequence of hex
bytes; then run an optimizer on it to drop some of the "unnecessary" octets
(guaranteeing that the original hex sequence can be reconstructed at the
receiver end; no dropping of bytes for numbers where I can not guarantee
this).

If there are others on the mailing list facing this issue, I would like to
interact. May be we can have a standard way. I could publish my technique as
an internet draft, if required. If there is already a public spec for it,
may be someone would be kind enough to share. Thank you.

Manoj Dhooria
Geometric Software [www.geometricsoftware.com]
Bombay

-----Original Message-----
From: nsyracus at cnri.reston.va.us [mailto:nsyracus at cnri.reston.va.us]On
Behalf Of Internet-Drafts at ietf.org
Sent: Tuesday, January 23, 2001 6:04 PM
To: IETF-Announce:
Subject: I-D ACTION:draft-jaffer-metric-interchange-format-02.txt


A New Internet-Draft is available from the on-line Internet-Drafts
directories.


	Title		: Representation of numerical values and SI units in
                          character strings for information interchanges
	Author(s)	: A. Jaffer
	Filename	: draft-jaffer-metric-interchange-format-02.txt
	Pages		:
	Date		: 22-Jan-01

This document describes a character string encoding for numerical
values and units which:
* is unambiguous in all locales;
* uses only

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-jaffer-metric-interchange-format-0
2.txt

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-jaffer-metric-interchange-format-02.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv at ietf.org.
In the body type:
	"FILE /internet-drafts/draft-jaffer-metric-interchange-format-02.txt".

NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.


Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.




Note Well: Messages sent to this mailing list are the opinions of the senders and do not imply endorsement by the IETF.

Note: Messages sent to this list are the opinions of the senders and do not imply endorsement by the IETF.