[clean-list] IEEE floating point and Clean

RT Happe rthappe@mathematik.uni-freiburg.de
Wed, 12 Sep 2001 15:30:33 +0200 (CEST)


On Wed, 12 Sep 2001, Marco Kesseler wrote:
> It IS possible to create your own floating point numbers in Clean,
> an attach flags to them. Various operations on these numbers
> should then test their results for 'INF' and the like, and set the
> flags. Users of these numbers can then check whether something
> went wrong in the computation of some result.

However, it would be quite awkward to make your software emulate what
the arithmetic processor already does for you.

> Kahan however would like support for this in the language itself,

(Me too.)

> In this respect, Clean is certainly not worse than most of the
> 'commercial' languages.

With the notable exception of C99 and Fortran 2001.

rthappe