Operator overloading, structs

Jarrett Billingsley jarrett.billingsley at gmail.com
Thu Jun 4 13:14:00 PDT 2009


On Thu, Jun 4, 2009 at 2:20 PM, Denis Koroskin <2korden at gmail.com> wrote:

> because C (nor D) standard doesn't guaranty that float(0) will be
> implemented as "all bits set to 0" on target platform (although it currently
> holds true).

Actually, D does.

http://www.digitalmars.com/d/1.0/abi.html

D requires floating-point types to be IEEE 754 compliant (though the
current wording of 'real' might confusingly allow for other
standards).



More information about the Digitalmars-d mailing list