Floating point design

Kevin Ryde user42@zip.com.au
Fri, 27 Jun 2003 08:45:19 +1000


LingWitt@insightbb.com writes:
>
> Its seems like the floating point should be defined by 3
> multi-precision integers for the integer portion, decimal portion,

There's never any need to represent those separately, a single value
suffices.

> and exponent

We believe there's no need for a multi-precision exponent, it would
only be a slowdown.

> since the integer type seems to reallocate itself as necessary

We believe there's no call to reallocate floats, an application will
want a particular precision and normally after just a few operations
the full size will be filled with data.

> Also, why aren't the C++ classes implemented as concrete classes?

See "C++ Interface Internals" in the manual.  You need to read the
manual before asking the list.