-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 4/9/2011 21:33, Ruben Van Boxem wrote: > Hi, > > Sorry for jumping into this discussion, but I don't seem to understand what > the advantage is of a non-hardware supported real number representation. If > you need the two (or a bit more) decimal places required for currency and > percentages, why not just use a big integer and for display divide by 100? > No more worries about precision, up to an arbitrarily determined number of > decimal places. Are the numbers so huge that they can't be stored in a > 128-bit integer, or are there stricter requirements precision-wise? Thanks! > > Ruben
Sure that is fine if your range is limited. Its the same reason floating point exists, but with more specific applications. No, 128-bit integers are too short after factoring in exponents. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (MingW32) iEYEARECAAYFAk2gY3wACgkQp56AKe10wHfjwQCfQiiDs6j7kAxnWu92fltffiIf 5F0An1xZpHm7Az5Vl8R+IneCZN/Vo2Mn =tuWX -----END PGP SIGNATURE-----
0xED74C077.asc
Description: application/pgp-keys
------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
