Subject: Re: accuracy of "long double"
To: Neil Booth <neil@daikokuya.co.uk>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: port-amd64
Date: 08/31/2007 18:10:50
neil@daikokuya.co.uk said:
> extern int a[USHRT_MAX * 0 - 1 < 0 ? 1: -1]; 

Yep, you are right.
(I first checked DEC OSF/1 which is usually very correct wrt standards
and found that it has the same problem.)
Same for UCHAR8_MAX et al...

> I put in a PR for this a long time ago.

I see -- lib/31306.
I've just rebuilt my system with fixed headers and didn't see any fallout.
So I'll commit fixes in a minute.

thanks
Matthias




-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDirig'in Baerbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. 
Vorsitzender)
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------