Skip to main content
Module

x/ddc_vim/deps.ts>fn.acos

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.acos
import { fn } from "https://deno.land/x/ddc_vim@v2.3.0/deps.ts";
const { acos } = fn;

Return the arc cosine of {expr} measured in radians, as a |Float| in the range of [0, pi]. {expr} must evaluate to a |Float| or a |Number| in the range [-1, 1]. Examples: :echo acos(0) 1.570796 :echo acos(-0.5) 2.094395 Can also be used as a |method|: Compute()->acos() {only available when compiled with the |+float| feature}

Parameters

denops: Denops
expr: unknown

Returns

Promise<unknown>