bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: isnanl, printf, and non-IEEE values


From: Paul Eggert
Subject: Re: isnanl, printf, and non-IEEE values
Date: Mon, 18 Jun 2012 19:37:23 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

On 06/18/2012 06:27 PM, John Spencer wrote:
> easy: add a check for the invalid LD bit representations

How does one do that, exactly?  I thought the
whole point of the proposed exercise was that code must
be portable to any standard C implementation.
So, where's the portable code to do what you're
proposing?

> who uses LD80 values in files anyway ? 

Lots of people.  A quick Google search found
"I have a binary file of long double values created with fwrite in C"
<http://stackoverflow.com/questions/2586295/importing-c-written-binary-files-into-matlab>
I'm sure one can find more examples.

> neither me nor paul were talking about printf(). 

No, I was talking about printf.

> you're forcing your printf replacement on implementations

There's no force here.  The process is entirely voluntary.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]