Re: [AD] About the fixed type (continued) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 27 August 2002 18:27, Eric Botcazou wrote:
> 1. The float vs double problem
> Using float means a loss of precision. We could say "never mind" if
> the conversion was only used when passing from the floating point
> world to the integer world.
[snip]
> As I think we can't afford to lose any bit of precision when staying
> within the fixed type, using 'double' is unavoidable.
OK, so we change the documentation. Do you want me to do that, or
yourself?
[snip]
> However I would like to combine
> the conversion with other multiplicative operations. Therefore I
> think we should only provide the multiplicator (and maybe its
> inverse) instead of any functions.
Sounds sensible. Would it be a #define constant, in that case?
Bye for now,
- --
Laurence Withers, lwithers@xxxxxxxxxx
(GnuPG 04A646EA) http://www.lwithers.demon.co.uk/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9bLPbUdhclgSmRuoRAn5xAJwNGc5oO10YxCYxhforuDBHRT3yegCffjJl
PjZvlOja/NXdWySU6rjol5s=
=DKKK
-----END PGP SIGNATURE-----