[plt-scheme] Re: HTDP: Fahrenheit to celsius testing question 2.2.1

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Wed Aug 27 07:54:46 EDT 2008

check-within is your friend. and it is essential that we teach  
students that numeric comparisons are complex (oops) and not simple.  
-- Matthias



On Aug 26, 2008, at 11:52 PM, Grant Rettke wrote:

> Ok, thanks for "listening". I see that there is a bar over that  
> first value.
>
> They aren't the same. Duh, anyway.
>
> On Tue, Aug 26, 2008 at 10:49 PM, Grant Rettke <grettke at acm.org>  
> wrote:
>> Hi folks,
>>
>> I added the test: (check-expect (Fahrenheit->Celsius 96) 35.5)
>>
>> and got the error message:
>>
>> "The actual value 35.5 differs from 35.5, the expected value."
>>
>> Why aren't they equal? I thought if both are exact that they *can*  
>> be equal.
>>
>> Best wishes,
>>
>> Grant
>>
>
>
>
> -- 
> http://www.wisdomandwonder.com/
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme



Posted on the users mailing list.