On 2011-01-05 22:09:13 +0100, Denis Barbier wrote: > > The French isgreater(3) man page says: > > > > L'opérateur normal de relation (comme <, « inférieur à ») échouera si > > l'un des opérandes est le non nombre NaN. Ceci déclenche une exception. > > Pour l'éviter, C99 définit ces macros. Elles garantissent de n'évaluer > > leurs opérandes qu'une seule fois. Les opérandes peuvent être n'importe > > quel type réel. > > > > This is incorrect, and it has been incorrectly translated from the > > English version, which says: > > > > The normal relation operations (like <, "less than") will fail if one > > of the operands is NaN. This will cause an exception. To avoid this, > > C99 defines these macros. The macros are guaranteed to evaluate their > > operands only once. The operands can be of any real floating-point > > type. > > > > So, "type réel" should be replaced by something like "type flottant réel" > > (I don't know the correct term in French). > > Thanks for your report. What do you think about this translation ? > > Les opérations de relation usuelles (comme <, « inférieur à ») échouent si > l'un des opérandes vaut NaN (« Not a Number », ce qui signifie « pas > un nombre »). > Ceci déclenche une exception. Pour l'éviter, C99 définit ces macros. > Elles garantissent de n'évaluer leurs opérandes qu'une seule fois. > Les opérandes peuvent être de n'importe quel type flottant.
No, "type flottant" is incorrect because complex numbers are also floating types (and are forbidden here). C99 has the following definitions: * There are three /real floating types/, designated as float, double, and long double. * There are three /complex types/, designated as float _Complex, double _Complex, and long double _Complex. * The real floating and complex types are collectively called the /floating types/. * The type char, the signed and unsigned integer types, and the enumerated types are collectively called /integer types/. * The integer and real floating types are collectively called /real types/. * Integer and floating types are collectively called /arithmetic types/. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org