On Mon, Sep 9, 2013 at 8:03 PM, Bryan Vicknair <bryanvick@gmail.com> wrote:
Whatever the behavior of truncate is, given the same input it should give the
same output.

An ideal, but unlikely when floating point is involved; optimization can result in altered evaluation order or removal (or even addition in some cases) of load/stores which can modify the internal representation. Note that ghci is completely unoptimized.

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net