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

; float atan2(float y, float x) __z88dk_callee

SECTION code_clib
SECTION code_fp_math48

PUBLIC cm48_sdcciy_atan2_callee, l0_cm48_sdcciy_atan2_callee

EXTERN am48_atan2, cm48_sdcciyp_dcallee2, cm48_sdcciyp_m482d

cm48_sdcciy_atan2_callee:

   call cm48_sdcciyp_dcallee2
   
   ; AC'= y
   ; AC = x

l0_cm48_sdcciy_atan2_callee:

   exx
   call am48_atan2

   jp cm48_sdcciyp_m482d
