Closed asanzo closed 8 years ago
According to our latest talks about number coercion or even having only one type of numbers, these operations should be equivalent.
More "strict" (?) languages, make a difference between integer and real exponentiation, but I think we can easily forget about it, it adds complexity we do not need. (To be clear: even if we would keep the complexity there is a but there... or I am not capable of understanding the behavior.)
On Thu, Sep 1, 2016 at 6:06 AM, asanzo notifications@github.com wrote:
Here an example:
5 * (-1) => 0 5.0 * (-1) => Invalid operation 5 \ (-1.0) => 0.2
[image: seleccion_256] https://cloud.githubusercontent.com/assets/5421992/18155069/242c1986-6fe0-11e6-9e01-3796cd0162b4.png
Shouldn't it work for the three cases just the same?
Related to #924 https://github.com/uqbar-project/wollok/issues/924
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/uqbar-project/wollok/issues/962, or mute the thread https://github.com/notifications/unsubscribe-auth/AEa1OSijytxZcBLMhW85Z2LgKUHwm0O7ks5qlk9JgaJpZM4JyS-0 .
Here an example:
Shouldn't it work for the three cases just the same?
Related to #924