feat:node-modules

This commit is contained in:
houjunxiang
2025-11-24 10:26:18 +08:00
parent 753766893b
commit 8a3e48d856
8825 changed files with 567399 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
export var InfinityDocs = {
name: 'Infinity',
category: 'Constants',
syntax: ['Infinity'],
description: 'Infinity, a number which is larger than the maximum number that can be handled by a floating point number.',
examples: ['Infinity', '1 / 0'],
seealso: []
};

View File

@@ -0,0 +1,8 @@
export var LN10Docs = {
name: 'LN10',
category: 'Constants',
syntax: ['LN10'],
description: 'Returns the natural logarithm of 10, approximately equal to 2.302',
examples: ['LN10', 'log(10)'],
seealso: []
};

View File

@@ -0,0 +1,8 @@
export var LN2Docs = {
name: 'LN2',
category: 'Constants',
syntax: ['LN2'],
description: 'Returns the natural logarithm of 2, approximately equal to 0.693',
examples: ['LN2', 'log(2)'],
seealso: []
};

View File

@@ -0,0 +1,8 @@
export var LOG10EDocs = {
name: 'LOG10E',
category: 'Constants',
syntax: ['LOG10E'],
description: 'Returns the base-10 logarithm of E, approximately equal to 0.434',
examples: ['LOG10E', 'log(e, 10)'],
seealso: []
};

View File

@@ -0,0 +1,8 @@
export var LOG2EDocs = {
name: 'LOG2E',
category: 'Constants',
syntax: ['LOG2E'],
description: 'Returns the base-2 logarithm of E, approximately equal to 1.442',
examples: ['LOG2E', 'log(e, 2)'],
seealso: []
};

View File

@@ -0,0 +1,8 @@
export var NaNDocs = {
name: 'NaN',
category: 'Constants',
syntax: ['NaN'],
description: 'Not a number',
examples: ['NaN', '0 / 0'],
seealso: []
};

View File

@@ -0,0 +1,8 @@
export var SQRT12Docs = {
name: 'SQRT1_2',
category: 'Constants',
syntax: ['SQRT1_2'],
description: 'Returns the square root of 1/2, approximately equal to 0.707',
examples: ['SQRT1_2', 'sqrt(1/2)'],
seealso: []
};

View File

@@ -0,0 +1,8 @@
export var SQRT2Docs = {
name: 'SQRT2',
category: 'Constants',
syntax: ['SQRT2'],
description: 'Returns the square root of 2, approximately equal to 1.414',
examples: ['SQRT2', 'sqrt(2)'],
seealso: []
};

View File

@@ -0,0 +1,8 @@
export var eDocs = {
name: 'e',
category: 'Constants',
syntax: ['e'],
description: 'Euler\'s number, the base of the natural logarithm. Approximately equal to 2.71828',
examples: ['e', 'e ^ 2', 'exp(2)', 'log(e)'],
seealso: ['exp']
};

View File

@@ -0,0 +1,8 @@
export var falseDocs = {
name: 'false',
category: 'Constants',
syntax: ['false'],
description: 'Boolean value false',
examples: ['false'],
seealso: ['true']
};

View File

@@ -0,0 +1,8 @@
export var iDocs = {
name: 'i',
category: 'Constants',
syntax: ['i'],
description: 'Imaginary unit, defined as i*i=-1. A complex number is described as a + b*i, where a is the real part, and b is the imaginary part.',
examples: ['i', 'i * i', 'sqrt(-1)'],
seealso: []
};

View File

@@ -0,0 +1,8 @@
export var nullDocs = {
name: 'null',
category: 'Constants',
syntax: ['null'],
description: 'Value null',
examples: ['null'],
seealso: ['true', 'false']
};

View File

@@ -0,0 +1,8 @@
export var phiDocs = {
name: 'phi',
category: 'Constants',
syntax: ['phi'],
description: 'Phi is the golden ratio. Two quantities are in the golden ratio if their ratio is the same as the ratio of their sum to the larger of the two quantities. Phi is defined as `(1 + sqrt(5)) / 2` and is approximately 1.618034...',
examples: ['phi'],
seealso: []
};

View File

@@ -0,0 +1,8 @@
export var piDocs = {
name: 'pi',
category: 'Constants',
syntax: ['pi'],
description: 'The number pi is a mathematical constant that is the ratio of a circle\'s circumference to its diameter, and is approximately equal to 3.14159',
examples: ['pi', 'sin(pi/2)'],
seealso: ['tau']
};

View File

@@ -0,0 +1,8 @@
export var tauDocs = {
name: 'tau',
category: 'Constants',
syntax: ['tau'],
description: 'Tau is the ratio constant of a circle\'s circumference to radius, equal to 2 * pi, approximately 6.2832.',
examples: ['tau', '2 * pi'],
seealso: ['pi']
};

View File

@@ -0,0 +1,8 @@
export var trueDocs = {
name: 'true',
category: 'Constants',
syntax: ['true'],
description: 'Boolean value true',
examples: ['true'],
seealso: ['false']
};

View File

@@ -0,0 +1,8 @@
export var versionDocs = {
name: 'version',
category: 'Constants',
syntax: ['version'],
description: 'A string with the version number of math.js',
examples: ['version'],
seealso: []
};