FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
mathjs/src/core/config.js at develop · rpeg/mathjs · GitHub
rpeg
/
mathjs
Public
forked from
josdejong/mathjs
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
mathjs
/
src
/
core
/
config.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
24 lines (19 loc) · 842 Bytes
Breadcrumbs
mathjs
/
src
/
core
/
config.js
Copy path
File metadata and controls
24 lines (19 loc) · 842 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
export
const
DEFAULT_CONFIG
=
{
// minimum relative difference between two compared values,
// used by all comparison functions
epsilon
:
1e-12
,
// type of default matrix output. Choose 'matrix' (default) or 'array'
matrix
:
'Matrix'
,
// type of default number output. Choose 'number' (default) 'BigNumber', or 'Fraction
number
:
'number'
,
// number of significant digits in BigNumbers
precision
:
64
,
// predictable output type of functions. When true, output type depends only
// on the input types. When false (default), output type can vary depending
// on input values. For example `math.sqrt(-4)` returns `complex('2i')` when
// predictable is false, and returns `NaN` when true.
predictable
:
false
,
// random seed for seeded pseudo random number generation
// null = randomly seed
randomSeed
:
null
}
Back
|
FazBrowse Home
|
New Git URL