implement RealFloat atan2