Skip to main content
Module

x/ddc_vim/deps.ts>fn.atan2

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.atan2
import { fn } from "https://deno.land/x/ddc_vim@v2.3.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()->atan(1) {only available when compiled with the |+float| feature}

Parameters

denops: Denops
expr1: unknown
expr2: unknown

Returns

Promise<unknown>