Jon Jagger
jon@jaggersoft.com
Table of Contents 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Notes DownloadECMA-334 C# Language Specificationpreviousnextprevious at this levelnext at this level 14 Expressionsprevious at this levelnext at this level 14.9 Relational and type-testing operatorsprevious at this levelnext at this level 14.9.2 Floating-point comparison operators Paragraph 11 The predefined floating-point comparison operators are:
bool operator ==(float x, float y);  
bool operator ==(double x, double y);  
bool operator !=(float x, float y);  
bool operator !=(double x, double y);  
bool operator <(float x, float y);  
bool operator <(double x, double y);  
bool operator >(float x, float y);  
bool operator >(double x, double y);  
bool operator <=(float x, float y);  
bool operator <=(double x, double y);  
bool operator >=(float x, float y);  
bool operator >=(double x, double y);  
Paragraph 21 The operators compare the operands according to the rules of the IEEE 754 standard:
{ JSL }
Jagger Software Ltd
Company # 4070126
VAT # 762 5213 42
Valid HTML 4.01Valid CSS