UNPKG
vega-interpreter
Version:
latest (2.0.0)
2.0.0
1.2.0
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
CSP-compliant interpreter for Vega expressions.
vega-interpreter
/
src
/
constants.js
14 lines
(13 loc)
•
303 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export
default
{
NaN
:
NaN
,
E
:
Math
.
E
,
LN2
:
Math
.
LN2
,
LN10
:
Math
.
LN10
,
LOG2E
:
Math
.
LOG2E
,
LOG10E
:
Math
.
LOG10E
,
PI
:
Math
.
PI
,
SQRT1
_2
:
Math
.
SQRT1_2
,
SQRT2
:
Math
.
SQRT2
,
MIN_VALUE
:
Number
.
MIN_VALUE
,
MAX_VALUE
:
Number
.
MAX_VALUE
};