Function reference · Special functions

Li

Returns the logarithmic integral.

It tends to minus infinity at 1. A negative argument stays as it is. Call evaluate for a decimal value.

Notation

Li(args)

Write it in an expression: nerdamer('Li(1)'), or in the Playground.

nerdamer.Li

nerdamer.Li(...args: [x]): Expression

A method on the default import. Arguments can be strings, as in Notation.

import { Li }

import { Li } from 'nerdamer/special';
Li(x: Expression): Expression

Import only this function, from nerdamer/special.

Examples

Minus infinity at 1.

Li(1)
// → -Inf
Open in Playground

A decimal value.

evaluate(Li(2))
// → 1.0451637801174927849
Open in Playground

A negative argument stays as it is.

Li(-2)
// → Li(-2)
Open in Playground

← Back to Function reference