>>>>> "Matthias" == Matthias Fichtner <mf-list@stripped>
Matthias> Michael Widenius wrote:
Balint> select round(0*-1) -> -0
Balint> select round(-0) -> 0
Balint> select 0*-1 -> 0
>> The problem is that modern machines supports negative 0 (-0).
Matthias> But even if we accept that there is something like -0, I still
Matthias> think that the three examples should return the *same* result.
Yes, I agree in principle.. The problem is that in this case it's the
glibc math library that makes things 'interesting' and it's not that
easy to fix...