[GHC] #13212: Support abs as a primitive operation on floating point numbers.
GHC
ghc-devs at haskell.org
Tue Jan 31 15:16:46 UTC 2017
#13212: Support abs as a primitive operation on floating point numbers.
-------------------------------------+-------------------------------------
Reporter: dominic | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords: newcomer
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by rwbarton):
* keywords: => newcomer
Comment:
Yes, this would be worthwhile and not difficult. See
https://ghc.haskell.org/trac/ghc/wiki/Commentary/PrimOps#AddinganewPrimOp
for the steps involved and https://phabricator.haskell.org/D1334 for a
recent example.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13212#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list