[Haskell-cafe] Data.Number.BigFloat/Fixed

Ivan Miljenovic ivan.miljenovic at gmail.com
Sun Mar 21 18:38:42 EDT 2010


On 22 March 2010 08:33, Brandon S. Allbery KF8NH <allbery at ece.cmu.edu> wrote:
> On Mar 21, 2010, at 17:31 , Ivan Lazar Miljenovic wrote:
>>
>> I'm sorry, but is there a question in there?
>> H. <h._h._h._ at hotmail.com> writes:
>>>
>>> (7e-3 :: BigFloat Prec50) < (6e-4 :: BigFloat Prec50)
>>> False
>
> 0.007 < 0.0006?

Oh, wait; that returns False which is correct, but 0.007 < 0.0008
returns True which is incorrect.  Which just goes to show I shouldn't
skim emails that early in the morning...

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com


More information about the Haskell-Cafe mailing list