Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: Decimal Floating Point (was Re: why still use C?)



In <[EMAIL PROTECTED]> [EMAIL PROTECTED] (Gene Wirchenko) writes:

>     That would be nice, too, but what if you need decimal FLOAT?

What for?  Given the intrinsic nature of floating point, if the base is
relevant to your application, then you should review the application.

If the ability of representing $3.11 *exactly* is important, simply do all
your computing in pennies and the base used by your floating point
representation no longer matters (only the precision is relevant).

Dan
-- 
Dan Pop
DESY Zeuthen, RZ group
Email: [EMAIL PROTECTED]
-- 
comp.lang.c.moderated - moderation address: [EMAIL PROTECTED]



<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.