[Haskell-cafe] threadDelay delays less time than expected (Windows)

Lian Hung Hon hon.lianhung at gmail.com
Thu Dec 29 00:05:16 UTC 2016


Dear Tom/Yitz,

Just tested, returns False. I'm on 64 bit by the way. What should I do from
here?

Regards,
Hon

On 29 Dec 2016 03:47, "Yitzchak Gale" <gale at sefer.org> wrote:

> Tom wrote:
> > (86400000000 :: Integer) > (fromIntegral (maxBound :: Int))
> >
> > If True, your machine (32-bit?) is probably overflowing the Int
>
> Good point. Even if False on Lian's Windows machine, it could
> be there is some 32-bit value somewhere in the Windows
> implementation that causes this.
>
> Yitz
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20161229/136338ae/attachment.html>


More information about the Haskell-Cafe mailing list