floating-point formats

Ulrich Drepper drepper@redhat.com
Thu Jul 18 12:16:00 GMT 2002


On Thu, 2002-07-18 at 12:04, Roland McGrath wrote:

> I don't really understand Ulrich's remark here.  The only cases that I was
> talking about are machines where the native FP format is something other
> than IEEE (e.g. Vax, PDP-10).  It doesn't make sense to me to attempt to
> impose IEEE format on an ABI for such machines.  Any programs written to
> run on that machine under an existing compiler/library will expect the
> machine's native FP semantics rather than universally compatible IEEE
> semantics.

Then use whatever environment you have today.  When you use glibc you
want to have an API compatible with the rest of the systems using glibc
and those are using IEEE.  Anything defeats the purpose.

In addition, maintaining code to be aware of other FP formats (or byte
sizes) is adding additional work on the maintainer.  I have no interest
in having to do even more for effectively no gain.  Who cares about
hardware which can be outperformed by a pocket calculator?  The people
who want such extravagence have to pay the price.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20020718/2cd657fd/attachment.sig>


More information about the Libc-alpha mailing list