B
Ich denke eigentlich, dass es mit Fließkommaarithmetik nichts zu tun hat, also dass es egal ist, ob ich 0.0 oder 0 nehme (und 0 ist auf jeden Fall immer false, die Stelle im Standard kann ich bei Bedarf raussuchen).
4.12 Boolean conversions [conv.bool]
1 An rvalue of arithmetic, enumeration, pointer, or pointer to member
type can be converted to an rvalue of type bool. A zero value, null
pointer value, or null member pointer value is converted to false; any
other value is converted to true.
[ Dieser Beitrag wurde am 27.05.2003 um 12:22 Uhr von Bashar editiert. ]