[GHC] #13040: realToFrac into Complex Double has no specialization
GHC
ghc-devs at haskell.org
Tue Jan 3 05:52:18 UTC 2017
#13040: realToFrac into Complex Double has no specialization
-------------------------------------+-------------------------------------
Reporter: akio | Owner: akio
Type: feature request | Status: new
Priority: normal | Milestone:
Component: libraries/base | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Runtime | Unknown/Multiple
performance bug | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D2901
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"5800b02a1910a468485b272a2063377e8b06ee1d/ghc"
5800b02a/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="5800b02a1910a468485b272a2063377e8b06ee1d"
Add specialization rules for realToFrac on Complex
This patch implements RULES that specialize realToFrac at these 2 types:
`(Real a) => a -> Complex Double`
`(Real a) => a -> Complex Float`
Test Plan: ./validate
Reviewers: austin, hvr, bgamari
Reviewed By: bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2901
GHC Trac Issues: #13040
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13040#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list