Skip to main content
Module

x/ddu_vim/deps.ts>fn.atan2

Dark deno-powered UI framework for neovim/Vim8
Go to Latest
function fn.atan2
import { fn } from "https://deno.land/x/ddu_vim@v1.13.0/deps.ts";
const { atan2 } = fn;

Return the arc tangent of {expr1} / {expr2}, measured in radians, as a |Float| in the range [-pi, pi]. {expr1} and {expr2} must evaluate to a |Float| or a |Number|. Examples: :echo atan2(-1, 1) -0.785398 :echo atan2(1, -1) 2.356194 Can also be used as a |method|: Compute()->atan2(1) {only available when compiled with the |+float| feature}

Parameters

denops: Denops
expr1: unknown
expr2: unknown

Returns

Promise<unknown>