Proposal: fixing the 'pure' floating point problem.

Denis Koroskin 2korden at gmail.com
Sat Apr 4 08:21:17 PDT 2009


On Sat, 04 Apr 2009 15:19:46 +0400, Philip Miess <philip.Miess at yahoo.com> wrote:

> of course my example makes no sense
> try
>
> pure float square(float x, invariant roundingMode round = default)
> {
>      return x*x;
> }
> in case that helps
>
> Phil

I don't see roundingMode used anywhere in your example.




More information about the Digitalmars-d mailing list