Trigonometry.arctan2()

Estimate arctangent on four quadrants

Parameters

NameTypeDescription
1xnumber
2ynumber

Return value

number|false

the arctan2 of the angle or false

Usage

import {Trigonometry} from '@lcluber/type6js';

let arctan2 = Trigonometry.arctan2(2, 4);