Skip to content

equip GHC with an accurate internal model of floating point

currently there really isn't a systematic / portable story for doing compile time reduction / evaluation for floating point numbers.

there are some folks in the larger haskell community who are working on high precision soft float implementations / modelling.

Once that work becomes available, might be worth exploring having something like that for doing controlled high precision evaluation of intermediate expressions in ghc proper.

Trac metadata
Trac field Value
Version 7.6.3
Type FeatureRequest
TypeOfFailure OtherFailure
Priority high
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information