Serge Orlov wrote: >> So, you can convert -0 to 0, but you must multiply the result with sign of >> y, which is '-' (minus). > > But you miss the fact that 0 is an *integer*, not a float, and -0 > doesn't exist. Yes, you are right, I completely missed that 0 is integer in python, and I need a float. Regards, Vedran Furač