|
[GHC] #882: Overflow bug in System.Time: msg#00184lang.haskell.glasgow.bugs
#882: Overflow bug in System.Time -------------------------------+-------------------------------------------- Reporter: simonpj | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: libraries/base | Version: 6.4.2 Severity: normal | Keywords: Os: Unknown | Difficulty: Unknown Architecture: Unknown | -------------------------------+-------------------------------------------- Frederik Eaton reports: The Glorious Glasgow Haskell Compilation System, version 6.4.3.20060816 {{{ > now <- getClockTime > addToClockTime (TimeDiff {tdYear = 0, tdMonth = 0, tdDay = 0, tdHour = 0, tdMin = 0, tdSec = 0, tdPicosec = 999999999999}) now *** Exception: Time.toClockTime: picoseconds out of range }}} This is clearly a bug. Simon Marlow comments: System.Time is kind-of deprecated: the new time package is intended to supercede it, but I have been reluctant to really deprecate System.Time because it comes from Haskell98, and also because we don't have much experience with its replacement. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/882> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler_______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [GHC] #881: Improve space profiling for references, GHC |
|---|---|
| Next by Date: | Re: [GHC] #882: Overflow bug in System.Time, Sigbjorn Finne |
| Previous by Thread: | [GHC] #881: Improve space profiling for references, GHC |
| Next by Thread: | Re: [GHC] #882: Overflow bug in System.Time, Sigbjorn Finne |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |