Skip to main content
Module

x/dpp_vim/deps.ts>fn.asin

Dark powered plugin manager for Vim/neovim
Latest
function fn.asin
import { fn } from "https://deno.land/x/dpp_vim@v0.2.0/deps.ts";
const { asin } = fn;

Return the arc sine of {expr} measured in radians, as a Float in the range of [-pi/2, pi/2]. {expr} must evaluate to a Float or a Number in the range [-1, 1]. Returns "nan" if {expr} is outside the range [-1, 1]. Returns 0.0 if {expr} is not a Float or a Number. Examples:

:echo asin(0.8)

    0.927295

:echo asin(-0.5)

    -0.523599

Can also be used as a method:

Compute()->asin()

Parameters

denops: Denops
expr: unknown

Returns

Promise<number>