Skip to main content
Module

x/ddc_vim/deps.ts>fn.log

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

Return the natural logarithm (base e) of {expr} as a |Float|. {expr} must evaluate to a |Float| or a |Number| in the range (0, inf]. Examples: :echo log(10) 2.302585 :echo log(exp(5)) 5.0 Can also be used as a |method|: Compute()->log() {only available when compiled with the |+float| feature}

Parameters

denops: Denops
expr: unknown

Returns

Promise<unknown>