Comparison issue

Ali Çehreli acehreli at yahoo.com
Tue Mar 20 15:26:05 PDT 2012


On 03/20/2012 02:08 AM, Don Clugston wrote:

 > For starters, note that ANY integer expression which is exact, is also
 > exact in floating point.

With the note that the integer type has better precision at higher 
values. For example, there are many 32-bit values that uint can, but 
float cannot represent.

Ali



More information about the Digitalmars-d-learn mailing list