
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
"Mike Cowlishaw" <[EMAIL PROTECTED]> wrote:Morris Dovey wrote:Never wanting to miss an opportunity to display my considerable ignorance, why not leave selection of floating point radix a compile/link option? I've been thinking back over all the financial code I've ever written/seen and can't think of any instance where use of more than a single floating point radix made any sense at all. Why not simply use the type names we already have?
This would mean that one could never have both binary and decimal FP data in the same program/structure.
This is a very good idea -- mixing binary, decimal (and hex) FP formats in a structure or a set of related modules is a very bad
idea -- unless the radix can be detected at the hardware level.
-- Jonathan Leffler #include <disclaimer.h> Email: [EMAIL PROTECTED], [EMAIL PROTECTED] Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/ -- comp.lang.c.moderated - moderation address: [EMAIL PROTECTED]
| <-- __Chronological__ --> | <-- __Thread__ --> |