purity question

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon May 29 04:25:06 PDT 2017


Ola Fosheim Grøstad wrote:

> On Monday, 29 May 2017 at 08:49:07 UTC, ketmar wrote:
>> pure. and while various functions in std.math, for example, are marked 
>> `pure`, they aren't too.
>
> Out of curiosity, which functions in std.math aren't "pure" in the D 
> sense?

almost all of them, 'cause they depends on FPU rounding settings.


More information about the Digitalmars-d-learn mailing list