Proposal: fixing the 'pure' floating point problem.

Philip Miess philip.Miess at yahoo.com
Sat Apr 4 04:19:46 PDT 2009


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



More information about the Digitalmars-d mailing list