﻿ Constants

# Constants

Inquisit includes a number of built-in constants that provide a convenient way to represent commonly used mathematical values in expressions.

Name Description Value
m_e The base of natural logarithms, e.

e (2.71828182845904523536)

m_log2e

The base 2 logarithm of e.

log2(e) (1.44269504088896340736)

m_log10e

The base 2 logarithm of e.

log10(e) (0.434294481903251827651)

m_ln2

The natural logarithm of 2.

ln(2) (0.693147180559945309417)

m_ln10

The natural logarithm of 10.

ln(10) (2.30258509299404568402)

m_pi

The circumference of a circle with diameter 1, π.

π (3.14159265358979323846)

m_pi_2

Half of π.

π/2 (1.57079632679489661923)

m_pi_4

A quarter of π.

π/4 (0.785398163397448309616)

m_1_pi

The inverse of π.

1/π (0.318309886183790671538)

m_2_pi

Twice the inverse of π.

2/π (0.636619772367581343076)

m_2_sqrtpi

The inverse of the square root of π.

2/(√ π) (1.12837916709551257390)

true boolean true 1
false boolean false 0
null nothing or unspecified 0