Proposal: Better power for Rational

Simon Peyton-Jones simonpj at microsoft.com
Mon Sep 27 18:11:50 EDT 2010


|  >  #4101: constant folding for (**)
|  >  #3676: realToFrac conversions
|  >  #3744: comparisons against minBound and maxBound are not optimised away
|  >  #3065: quot is sub-optimal
|  >  #2269: Word type to Double or Float conversions
|  >  #2271: floor, ceiling, round :: Double -> Int are awesomely slow
|  >  #1434: slow conversion Double to Int
|  
|  For the rounding issue I have already written some code for numeric-prelude:
|    http://code.haskell.org/numeric-prelude/src/Algebra/RealRing.hs

Great. I'm not sure which ticket you are referring to, but if you could propose a patch, by email to the libraries list, that would be great

Simon


More information about the Libraries mailing list