num = den =

real = img =

Stack:


Sample code