[racket] Multiplying by 0

From: José Lopes (jose.lopes at ist.utl.pt)
Date: Sun Feb 13 11:56:13 EST 2011

I understand. However, not only that disregards type promotion but also 
is incoherent since (+ 0 0.0) evaluates to 0.0.

On 13-02-2011 16:17, Robby Findler wrote:
> I believe one of the rules is that multiplying exact 0 by any number
> gives you back exact 0.
>
> Robby
>
> 2011/2/13 José Lopes<jose.lopes at ist.utl.pt>:
>> Shouldn't (* 0.0 0) evaluate to 0.0?
>>
>> --
>> José António Branquinho de Oliveira Lopes
>> 58612 - MEIC-A
>> jose.lopes at ist.utl.pt
>>
>> _________________________________________________
>>   For list-related administrative tasks:
>>   http://lists.racket-lang.org/listinfo/users
>>

-- 
José António Branquinho de Oliveira Lopes
58612 - MEIC-A
jose.lopes at ist.utl.pt



Posted on the users mailing list.