[Haskell-cafe] Ordering of BigFloats in numbers-3000.0.0.0

Michael Orlitzky michael at orlitzky.com
Mon Oct 8 02:31:13 CEST 2012

On 10/07/2012 02:31 PM, Claude Heiland-Allen wrote:
> On 07/10/12 19:00, Michael Orlitzky wrote:
>> I'm trying to use,
>>    http://hackage.haskell.org/package/numbers-3000.0.0.0
> You might also try my:
> http://hackage.haskell.org/package/variable-precision
> It's Ord should work, I've used it in anger, otherwise let me know and 
> I'll fix it when I have time!
>> to get better precision "for free" out of some numerical code.
> Mine may be unacceptably slow due to the dependent libraries.
> I sent some "make it turbo" patches to the maintainer of 
> 'type-level-natural-number' but got no response, would it be ok for me 
> to do a non-maintainer-upload that contains purely performance 
> enhancements and no functionality changes?

I gave it a try -- the speed isn't an issue for me, but I need the trig
functions (which look like they pass through Double). These are
basically homework problems and related experiments for which I'm trying
to avoid MATLAB at all costs, so sin and cos show up a lot.

More information about the Haskell-Cafe mailing list