Strange float behaviour on Arduino Mega

Thank you.