Re: [patch/rfc] Add host's floatformat

Zack Weinberg
2004-05-03T23:58:15Z

DJ Delorie <dj@redhat.com> writes:

>> > Er, no. The person who causes the problem gets to fix it. Especially
>> > when the problem is known beforehand, a workable solution is offered,
>> > and you choose otherwise anyway.
>>
>> Please point me at a case that doesn't work.
>
> I can't think of a concrete example off the top of my head, but then
> again, that rationalizing would have me set IEEE as the default and
> use configure.ac only to override it.

That seems sensible to me...

> However, I would have picked a more interesting number if I was going
> to use just one, like 0.00207. That makes more exponent and mantissa
> bits interesting.

For awhile GCC's configure.in had a table like this -- tuned so that
you could just compile it and grep for strings in the object file. We
got rid of it (GCC doesn't need to know the host float format anymore)
but it could be dug out of CVS.

zw