what happens when "real" == "double"
Thomas Kuehne
thomas-dloop at kuehne.cn
Mon Jan 29 23:22:48 PST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Benjamin Shropshire schrieb am 2007-01-29:
> real is defined as the largest hardware supported FP type. How should a program
> determine if real provides more precision than double?
Depending of what exactly "precision" is for you:
(real.dig > double.dig)
or
(real.epsilon < double.epsilon)
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFFvu/1LK5blCcjpWoRAvA7AJ9CzqGmE0uZ0gXaSgSRN5SgOfrzQQCfaGbL
p9bpGJ94kw8sbeEHo3bKRpw=
=iXHk
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-learn
mailing list