
#16036: expDouble## 0.0## doesn't get complied into 1.0## -------------------------------------+------------------------------------- Reporter: Fuuzetsu | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Fuuzetsu): In LLVM source I see {{{ case 'e': if ((Name == "exp" && TLI->has(LibFunc_exp)) || (Name == "expf" && TLI->has(LibFunc_expf)) || (Name == "__exp_finite" && TLI->has(LibFunc_exp_finite)) || (Name == "__expf_finite" && TLI->has(LibFunc_expf_finite))) return ConstantFoldFP(exp, V, Ty); }}} So maybe it's fine? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16036#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler