Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Nov 19, 2023
1 parent a3c9d76 commit 4b81057
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 9 deletions.
1 change: 1 addition & 0 deletions code-blocks/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ base.clampf,"var y = base.clampf( 3.14, 0.0, 5.0 )\ny = base.clampf( -3.14, 0.0,
base.cmul,"var z1 = new Complex128( 5.0, 3.0 )\nvar z2 = new Complex128( -2.0, 1.0 )\nvar out = base.cmul( z1, z2 )\nvar re = real( out )\nvar im = imag( out )\n"
base.cmulf,"var z1 = new Complex64( 5.0, 3.0 )\nvar z2 = new Complex64( -2.0, 1.0 )\nvar out = base.cmulf( z1, z2 )\nvar re = realf( out )\nvar im = imagf( out )\n"
base.cneg,"var z = new Complex128( -4.2, 5.5 )\nvar v = base.cneg( z )\nvar re = real( v )\nvar im = imag( v )\n"
base.cnegf,"var z = new Complex64( -4.0, 5.0 )\nvar v = base.cnegf( z )\nvar re = realf( v )\nvar im = imagf( v )\n"
base.continuedFraction,"function closure() {\nvar i = 0;\nreturn function() {\n i += 1;\n return [ i, i ];\n};\n };\nvar gen = closure();\nvar out = base.continuedFraction( gen )\nfunction* generator() {\n var i = 0;\n while ( true ) {\n i += 1;\n yield [ i, i ];\n }\n };\ngen = generator();\nout = base.continuedFraction( gen )\nout = base.continuedFraction( generator(), { 'keep': true } )\nout = base.continuedFraction( generator(), { 'maxIter': 10 } )\nout = base.continuedFraction( generator(), { 'tolerance': 1e-1 } )\n"
base.copysign,"var z = base.copysign( -3.14, 10.0 )\nz = base.copysign( 3.14, -1.0 )\nz = base.copysign( 1.0, -0.0 )\nz = base.copysign( -3.14, -0.0 )\nz = base.copysign( -0.0, 1.0 )\n"
base.copysignf,"var z = base.copysignf( -3.0, 10.0 )\nz = base.copysignf( 3.0, -1.0 )\nz = base.copysignf( 1.0, -0.0 )\nz = base.copysignf( -3.0, -0.0 )\nz = base.copysignf( -0.0, 1.0 )\n"
Expand Down
2 changes: 1 addition & 1 deletion code-blocks/data/data.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/index.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion help/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ base.acoversin,"\nbase.acoversin( x )\n Computes the inverse coversed sine.\n
base.acsc,"\nbase.acsc( x )\n Computes the arccosecant of a number.\n\n If `|x| < 1`, the function returns `NaN`.\n\n Parameters\n ----------\n x: number\n Input value.\n\n Returns\n -------\n y: number\n Arccosecant (in radians).\n\n Examples\n --------\n > var y = base.acsc( 1.0 )\n ~1.57\n > y = base.acsc( PI )\n ~0.32\n > y = base.acsc( -PI )\n ~-0.32\n > y = base.acsc( NaN )\n NaN\n\n See Also\n --------\n base.acot, base.acsch, base.asec, base.asin\n"
base.acsch,"\nbase.acsch( x )\n Computes the hyperbolic arccosecant of a number.\n\n Parameters\n ----------\n x: number\n Input value.\n\n Returns\n -------\n y: number\n Hyperbolic arccosecant.\n\n Examples\n --------\n > var y = base.acsch( 0.0 )\n Infinity\n > y = base.acsch( -1.0 )\n ~-0.881\n > y = base.acsch( NaN )\n NaN\n\n See Also\n --------\n base.acoth, base.acsc, base.asech, base.asinh, base.csch\n"
base.add,"\nbase.add( x, y )\n Computes the sum of two double-precision floating-point numbers `x` and `y`.\n\n Parameters\n ----------\n x: number\n First input value.\n\n y: number\n Second input value.\n\n Returns\n -------\n z: number\n Sum.\n\n Examples\n --------\n > var v = base.add( -1.0, 5.0 )\n 4.0\n > v = base.add( 2.0, 5.0 )\n 7.0\n > v = base.add( 0.0, 5.0 )\n 5.0\n > v = base.add( -0.0, 0.0 )\n 0.0\n > v = base.add( NaN, NaN )\n NaN\n\n See Also\n --------\n base.div, base.mul, base.sub\n"
base.add3,"\nbase.add3( x, y, z )\n Computes the sum of three double-precision floating-point numbers.\n\n Parameters\n ----------\n x: number\n First input value.\n\n y: number\n Second input value.\n\n z: number\n Third input value.\n\n Returns\n -------\n out: number\n Sum.\n\n Examples\n --------\n > var v = base.add3( -1.0, 5.0, 2.0 )\n 6.0\n > v = base.add3( 2.0, 5.0, 2.0 )\n 9.0\n > v = base.add3( 0.0, 5.0, 2.0 )\n 7.0\n > v = base.add3( -0.0, 0.0, -0.0 )\n 0.0\n > v = base.add3( NaN, NaN, NaN )\n NaN\n\n See Also\n --------\n base.add\n"
base.addf,"\nbase.addf( x, y )\n Computes the sum of two single-precision floating-point numbers `x` and `y`.\n\n Parameters\n ----------\n x: number\n First input value.\n\n y: number\n Second input value.\n\n Returns\n -------\n z: number\n Sum.\n\n Examples\n --------\n > var v = base.addf( -1.0, 5.0 )\n 4.0\n > v = base.addf( 2.0, 5.0 )\n 7.0\n > v = base.addf( 0.0, 5.0 )\n 5.0\n > v = base.addf( -0.0, 0.0 )\n 0.0\n > v = base.addf( NaN, NaN )\n NaN\n\n See Also\n --------\n base.add, base.divf, base.mulf, base.subf\n"
base.ahavercos,"\nbase.ahavercos( x )\n Computes the inverse half-value versed cosine.\n\n The inverse half-value versed cosine is defined as `2*acos(sqrt(x))`.\n\n If `x < 0`, `x > 1`, or `x` is `NaN`, the function returns `NaN`.\n\n Parameters\n ----------\n x: number\n Input value.\n\n Returns\n -------\n y: number\n Inverse half-value versed cosine.\n\n Examples\n --------\n > var y = base.ahavercos( 0.5 )\n ~1.5708\n > y = base.ahavercos( 0.0 )\n ~3.1416\n\n See Also\n --------\n base.ahaversin, base.havercos, base.vercos\n"
base.ahaversin,"\nbase.ahaversin( x )\n Computes the inverse half-value versed sine.\n\n The inverse half-value versed sine is defined as `2*asin(sqrt(x))`.\n\n If `x < 0`, `x > 1`, or `x` is `NaN`, the function returns `NaN`.\n\n Parameters\n ----------\n x: number\n Input value.\n\n Returns\n -------\n y: number\n Inverse half-value versed sine.\n\n Examples\n --------\n > var y = base.ahaversin( 0.5 )\n ~1.5708\n > y = base.ahaversin( 0.0 )\n 0.0\n\n See Also\n --------\n base.ahavercos, base.haversin, base.versin\n"
Expand Down Expand Up @@ -122,7 +123,7 @@ base.ceiln,"\nbase.ceiln( x, n )\n Rounds a numeric value to the nearest mult
base.ceilsd,"\nbase.ceilsd( x, n[, b] )\n Rounds a numeric value to the nearest number toward positive infinity with\n `n` significant figures.\n\n Parameters\n ----------\n x: number\n Input value.\n\n n: integer\n Number of significant figures. Must be greater than 0.\n\n b: integer (optional)\n Base. Must be greater than 0. Default: 10.\n\n Returns\n -------\n y: number\n Rounded value.\n\n Examples\n --------\n > var y = base.ceilsd( 3.14159, 5 )\n 3.1416\n > y = base.ceilsd( 3.14159, 1 )\n 4.0\n > y = base.ceilsd( 12368.0, 2 )\n 13000.0\n > y = base.ceilsd( 0.0313, 2, 2 )\n 0.046875\n\n See Also\n --------\n base.ceil, base.floorsd, base.roundsd, base.truncsd\n"
base.cexp,"\nbase.cexp( z )\n Evaluates the exponential function for a double-precision complex floating-\n point number.\n\n Parameters\n ----------\n z: Complex128\n Complex number.\n\n Returns\n -------\n out: Complex128\n Complex number.\n\n Examples\n --------\n > var y = base.cexp( new Complex128( 0.0, 0.0 ) )\n <Complex128>\n > var re = real( y )\n 1.0\n > var im = imag( y )\n 0.0\n > y = base.cexp( new Complex128( 0.0, 1.0 ) )\n <Complex128>\n > re = real( y )\n ~0.540\n > im = imag( y )\n ~0.841\n\n"
base.cflipsign,"\nbase.cflipsign( z, y )\n Returns a double-precision complex floating-point number with the same\n magnitude as `z` and the sign of `y*z`.\n\n Parameters\n ----------\n z: Complex128\n Complex number.\n\n y: number\n Number from which to derive the sign.\n\n Returns\n -------\n out: Complex128\n Result.\n\n Examples\n --------\n > var v = base.cflipsign( new Complex128( -4.2, 5.5 ), -9.0 )\n <Complex128>\n > var re = real( v )\n 4.2\n > var im = imag( v )\n -5.5\n\n See Also\n --------\n base.cneg, base.csignum\n"
base.cflipsignf,"\nbase.cflipsignf( z, y )\n Returns a single-precision complex floating-point number with the same\n magnitude as `z` and the sign of `y*z`.\n\n Parameters\n ----------\n z: Complex64\n Complex number.\n\n y: number\n Number from which to derive the sign.\n\n Returns\n -------\n out: Complex64\n Result.\n\n Examples\n --------\n > var v = base.cflipsignf( new Complex64( -4.0, 5.0 ), -9.0 )\n <Complex64>\n > var re = real( v )\n 4.0\n > var im = imag( v )\n -5.0\n\n See Also\n --------\n base.cflipsign\n"
base.cflipsignf,"\nbase.cflipsignf( z, y )\n Returns a single-precision complex floating-point number with the same\n magnitude as `z` and the sign of `y*z`.\n\n Parameters\n ----------\n z: Complex64\n Complex number.\n\n y: number\n Number from which to derive the sign.\n\n Returns\n -------\n out: Complex64\n Result.\n\n Examples\n --------\n > var v = base.cflipsignf( new Complex64( -4.0, 5.0 ), -9.0 )\n <Complex64>\n > var re = real( v )\n 4.0\n > var im = imag( v )\n -5.0\n\n See Also\n --------\n base.cnegf, base.cflipsign\n"
base.cfloor,"\nbase.cfloor( z )\n Rounds a double-precision complex floating-point number toward negative\n infinity.\n\n Parameters\n ----------\n z: Complex128\n Complex number.\n\n Returns\n -------\n out: Complex128\n Result.\n\n Examples\n --------\n > var v = base.cfloor( new Complex128( 5.5, 3.3 ) )\n <Complex128>\n > var re = real( v )\n 5.0\n > var im = imag( v )\n 3.0\n\n See Also\n --------\n base.cceil, base.cfloorn, base.cround\n"
base.cfloorn,"\nbase.cfloorn( z, n )\n Rounds each component of a double-precision complex floating-point number\n to the nearest multiple of `10^n` toward negative infinity.\n\n Parameters\n ----------\n z: Complex128\n Complex number.\n\n n: integer\n Integer power of 10.\n\n Returns\n -------\n z: Complex128\n Result.\n\n Examples\n --------\n > var v = base.cfloorn( new Complex128( 5.555, -3.333 ), -2 )\n <Complex128>\n > var re = real( v )\n 5.55\n > var im = imag( v )\n -3.34\n\n See Also\n --------\n base.cceiln, base.cfloor, base.croundn\n"
base.cidentity,"\nbase.cidentity( z )\n Evaluates the identity function for a double-precision complex floating-\n point number.\n\n Parameters\n ----------\n z: Complex128\n Input value.\n\n Returns\n -------\n v: Complex128\n Input value.\n\n Examples\n --------\n > var v = base.cidentity( new Complex128( -1.0, 2.0 ) )\n <Complex128>\n > var re = real( v )\n -1.0\n > var img = imag( v )\n 2.0\n\n See Also\n --------\n base.cidentityf, base.identity\n"
Expand Down
2 changes: 1 addition & 1 deletion help/data/data.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions info/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ base.clampf,"\nbase.clampf( v:number, min:number, max:number )\n Restricts a
base.cmul,"\nbase.cmul( z1:Complex128, z2:Complex128 )\n Multiplies two double-precision complex floating-point numbers.\n"
base.cmulf,"\nbase.cmulf( z1:Complex64, z2:Complex64 )\n Multiplies two single-precision complex floating-point numbers.\n"
base.cneg,"\nbase.cneg( z )\n Negates a double-precision complex floating-point number.\n"
base.cnegf,"\nbase.cnegf( z )\n Negates a single-precision complex floating-point number.\n"
base.continuedFraction,"\nbase.continuedFraction( generator:Function[, options:Object] )\n Evaluates the continued fraction approximation for the supplied series\n generator using the modified Lentz algorithm.\n"
base.copysign,"\nbase.copysign( x:number, y:number )\n Returns a double-precision floating-point number with the magnitude of `x`\n and the sign of `y`.\n"
base.copysignf,"\nbase.copysignf( x:number, y:number )\n Returns a single-precision floating-point number with the magnitude of `x`\n and the sign of `y`.\n"
Expand Down
2 changes: 1 addition & 1 deletion info/data/data.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions signature/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ base.clampf,"base.clampf( v, min, max )"
base.cmul,"base.cmul( z1, z2 )"
base.cmulf,"base.cmulf( z1, z2 )"
base.cneg,"base.cneg( z )"
base.cnegf,"base.cnegf( z )"
base.continuedFraction,"base.continuedFraction( generator[, options] )"
base.copysign,"base.copysign( x, y )"
base.copysignf,"base.copysignf( x, y )"
Expand Down
2 changes: 1 addition & 1 deletion signature/data/data.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions typed-signature/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ base.clampf,"base.clampf( v:number, min:number, max:number )"
base.cmul,"base.cmul( z1:Complex128, z2:Complex128 )"
base.cmulf,"base.cmulf( z1:Complex64, z2:Complex64 )"
base.cneg,"base.cneg( z )"
base.cnegf,"base.cnegf( z )"
base.continuedFraction,"base.continuedFraction( generator:Function[, options:Object] )"
base.copysign,"base.copysign( x:number, y:number )"
base.copysignf,"base.copysignf( x:number, y:number )"
Expand Down
2 changes: 1 addition & 1 deletion typed-signature/data/data.json

Large diffs are not rendered by default.

0 comments on commit 4b81057

Please sign in to comment.