Make up your mind - are we talking about integers or floating points here?
Comment #2 by thomas-dloop — 2006-05-19T11:45:35Z
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[email protected] schrieb am 2006-05-18:
> ------- Comment #1 from [email protected] 2006-05-18 08:54 -------
> Make up your mind - are we talking about integers or floating points here?
Thanks for catching this.
In contrast to the documentation the compiler allows implicity promoting
integers to complex floats.
creal c = 1; // should fail to compile
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFEbbmB3w+/yD4P9tIRAp86AJ9XbD108t6opHbrTJjOv88wE4N32ACdHl3S
xU7VhImJz6VmHfKI7biZS20=
=A6n7
-----END PGP SIGNATURE-----