Casting double to ulong weirdness
via Digitalmars-d
digitalmars-d at puremagic.com
Tue Aug 25 16:09:03 PDT 2015
On Tuesday, 25 August 2015 at 20:00:11 UTC, bachmeier wrote:
> to the next, we have reproducibility. In many cases though,
> reproducibility doesn't mean exact reproducibility, at least in
> the old days it didn't, due to floating point issues. You
> generally want to allow for replication of the results using
> other languages, so you have to allow for some differences.
You don't get portable results for some builtin float functions,
but otherwise I believe the 2008 edition of IEEE is exact. Latest
version of ECMAScript also use the 2008 version of IEEE.
More information about the Digitalmars-d
mailing list