log1p
On this page

log1p

Function

Returns the natural logarithm of (1 plus x), computed as log(x + 1), for f32 scalars only.

The signature and the sentence under each name are the compiler's own text at commit 26de7be8.

Syntax

declare function log1p<T extends Numeric>(...args: T[]): T

A signature may name a type the ambient file declares for its own use. These are those declarations.

Numeric
type Numeric = number | vec2 | vec3 | vec4 | vec2i | vec3i | vec4i | vec2u | vec3u | vec4u

Parameters

  • ...args T[]

Return value

T

See also

Edit this page Report a problem