new refine entry for the  atan2 function

This resolves #8272
why this and next line?