`div` function done. `phi` function (like `atan2` function) done.
Test samples done.