eta icon indicating copy to clipboard operation
eta copied to clipboard

Doubles don't work

Open jyothsnamutt opened this issue 10 years ago • 2 comments


module Main where

main = do
  print $ min 3.4 3.2

Exception in thread "main" java.lang.NoSuchMethodError: ghcvm.base.Utils.isDoubleNegativeZero(D)I
    at base.ghc.Float$isDoubleNegativeZZero.enter(Unknown Source)
    at base.ghc.Float$zdLr1MAYzdcisNegativeZZero1.enter(Unknown Source)
    at ghcvm.runtime.apply.StgFun.apply(StgFun.java:116)
    at ghcvm.runtime.apply.ApP.stackEnter(ApP.java:17)

jyothsnamutt avatar Sep 26 '16 13:09 jyothsnamutt

#70 fixed the NoSuchMethodError, but now we have a new exception at the haskell level:

Ix{Int}.index: Index (-1) out of range ((0,324))

rahulmutt avatar Sep 30 '16 13:09 rahulmutt

Not able to reproduce on master. Closing.

rahulmutt avatar Oct 21 '16 05:10 rahulmutt