round doesn't seem to work correctly

Martin Erwig <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
Hi,

I am using Hugs (Version: December 2001) on Unix (Solaris).

I think that round might not be working correctly for numbers
that end with "2.5".

For example,

Prelude> round 2.5
2

Prelude> round 72.500
72

Prelude> round 11112.5
11112


Thanks,
Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.