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