cm48_sdcciy_atan2.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciy_atan2.asm

; float atan2(float y, float x)

SECTION code_clib
SECTION code_fp_math48

PUBLIC cm48_sdcciy_atan2

EXTERN cm48_sdcciyp_dread2, l0_cm48_sdcciy_atan2_callee

cm48_sdcciy_atan2:

   call cm48_sdcciyp_dread2
   
   ; AC = x
   ; AC'= y
   
   jp l0_cm48_sdcciy_atan2_callee
