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 Jul 15, 2023
1 parent ae28d9f commit 72391f9
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 6 deletions.
3 changes: 3 additions & 0 deletions code-blocks/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,9 @@ base.floorb,"var y = base.floorb( 3.14159, -4, 10 )\ny = base.floorb( 3.14159, 0
base.floorf,"var y = base.floorf( 3.14 )\ny = base.floorf( -4.2 )\ny = base.floorf( -4.6 )\ny = base.floorf( 9.5 )\ny = base.floorf( -0.0 )\n"
base.floorn,"var y = base.floorn( 3.14159, -4 )\ny = base.floorn( 3.14159, 0 )\ny = base.floorn( 12368.0, 3 )\n"
base.floorsd,"var y = base.floorsd( 3.14159, 5 )\ny = base.floorsd( 3.14159, 1 )\ny = base.floorsd( 12368.0, 2 )\ny = base.floorsd( 0.0313, 2, 2 )\n"
base.forEachChar,"var n = 0;\nfunction fcn() { n += 1; };\nbase.forEachChar( 'hello world!', fcn );\nn\n"
base.forEachCodePoint,"var n = 0;\nfunction fcn() { n += 1; };\nbase.forEachCodePoint( 'hello world!', fcn );\nn\n"
base.forEachGraphemeCluster,"var n = 0;\nfunction fcn() { n += 1; };\nbase.forEachGraphemeCluster( 'hello world!', fcn );\nn\n"
base.fresnel,"var y = base.fresnel( 0.0 )\ny = base.fresnel( 1.0 )\ny = base.fresnel( PINF )\ny = base.fresnel( NINF )\ny = base.fresnel( NaN )\n"
base.fresnel.assign,"var out = new Float64Array( 2 );\nvar v = base.fresnel.assign( 0.0, out, 1, 0 )\nvar bool = ( v === out )\n"
base.fresnelc,"var y = base.fresnelc( 0.0 )\ny = base.fresnelc( 1.0 )\ny = base.fresnelc( PINF )\ny = base.fresnelc( NINF )\ny = base.fresnelc( NaN )\n"
Expand Down
2 changes: 1 addition & 1 deletion code-blocks/data/data.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion help/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,9 @@ base.floorb,"\nbase.floorb( x, n, b )\n Rounds a numeric value to the nearest
base.floorf,"\nbase.floorf( x )\n Rounds a single-precision floating-point number toward negative infinity.\n\n Parameters\n ----------\n x: number\n Input value.\n\n Returns\n -------\n y: number\n Rounded value.\n\n Examples\n --------\n > var y = base.floorf( 3.14 )\n 3.0\n > y = base.floorf( -4.2 )\n -5.0\n > y = base.floorf( -4.6 )\n -5.0\n > y = base.floorf( 9.5 )\n 9.0\n > y = base.floorf( -0.0 )\n -0.0\n\n See Also\n --------\n base.ceilf, base.floor\n"
base.floorn,"\nbase.floorn( x, n )\n Rounds a numeric value to the nearest multiple of `10^n` toward negative\n infinity.\n\n When operating on floating-point numbers in bases other than `2`, rounding\n to specified digits can be inexact.\n\n Parameters\n ----------\n x: number\n Input value.\n\n n: integer\n Integer power of 10.\n\n Returns\n -------\n y: number\n Rounded value.\n\n Examples\n --------\n // Round to 4 decimal places:\n > var y = base.floorn( 3.14159, -4 )\n 3.1415\n\n // If `n = 0`, standard round toward negative infinity behavior:\n > y = base.floorn( 3.14159, 0 )\n 3.0\n\n // Round to nearest thousand:\n > y = base.floorn( 12368.0, 3 )\n 12000.0\n\n\n See Also\n --------\n base.ceiln, base.floor, base.floorb, base.roundn\n"
base.floorsd,"\nbase.floorsd( x, n[, b] )\n Rounds a numeric value to the nearest number toward negative 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.floorsd( 3.14159, 5 )\n 3.1415\n > y = base.floorsd( 3.14159, 1 )\n 3.0\n > y = base.floorsd( 12368.0, 2 )\n 12000.0\n > y = base.floorsd( 0.0313, 2, 2 )\n 0.03125\n\n See Also\n --------\n base.ceilsd, base.floor, base.roundsd, base.truncsd\n"
base.forEachGraphemeCluster,"\nbase.forEachGraphemeCluster( str, clbk[, thisArg] )\n Invokes a function for each grapheme cluster (i.e., user-perceived\n character) in a string.\n\n When invoked, the provided function is provided three arguments:\n\n - value: grapheme cluster\n - index: starting grapheme cluster index\n - str: input string\n\n Parameters\n ----------\n str: string\n Input string over which to iterate.\n\n clbk: Function\n The function to invoke for each grapheme cluster in the input string.\n\n thisArg: any (optional)\n Execution context.\n\n Returns\n -------\n out: string\n Input string.\n\n Examples\n --------\n > var n = 0;\n > function fcn() { n += 1; };\n > base.forEachGraphemeCluster( 'hello world!', fcn );\n > n\n 12\n\n See Also\n --------\n forEachChar\n"
base.forEachChar,"\nbase.forEachChar( str, clbk[, thisArg] )\n Invokes a function for each UTF-16 code unit in a string.\n\n When invoked, the provided function is provided three arguments:\n\n - value: character\n - index: character index\n - str: input string\n\n Parameters\n ----------\n str: string\n Input string over which to iterate.\n\n clbk: Function\n The function to invoke for each UTF-16 code unit in the input string.\n\n thisArg: any (optional)\n Execution context.\n\n Returns\n -------\n out: string\n Input string.\n\n Examples\n --------\n > var n = 0;\n > function fcn() { n += 1; };\n > base.forEachChar( 'hello world!', fcn );\n > n\n 12\n\n See Also\n --------\n base.forEachCodePoint, base.forEachGraphemeCluster, forEachChar\n"
base.forEachCodePoint,"\nbase.forEachCodePoint( str, clbk[, thisArg] )\n Invokes a function for each Unicode code point in a string.\n\n When invoked, the provided function is provided three arguments:\n\n - value: code point\n - index: starting code point index\n - str: input string\n\n Parameters\n ----------\n str: string\n Input string over which to iterate.\n\n clbk: Function\n The function to invoke for each Unicode code point in the input string.\n\n thisArg: any (optional)\n Execution context.\n\n Returns\n -------\n out: string\n Input string.\n\n Examples\n --------\n > var n = 0;\n > function fcn() { n += 1; };\n > base.forEachCodePoint( 'hello world!', fcn );\n > n\n 12\n\n See Also\n --------\n base.forEachGraphemeCluster, forEachChar\n"
base.forEachGraphemeCluster,"\nbase.forEachGraphemeCluster( str, clbk[, thisArg] )\n Invokes a function for each grapheme cluster (i.e., user-perceived\n character) in a string.\n\n When invoked, the provided function is provided three arguments:\n\n - value: grapheme cluster\n - index: starting grapheme cluster index\n - str: input string\n\n Parameters\n ----------\n str: string\n Input string over which to iterate.\n\n clbk: Function\n The function to invoke for each grapheme cluster in the input string.\n\n thisArg: any (optional)\n Execution context.\n\n Returns\n -------\n out: string\n Input string.\n\n Examples\n --------\n > var n = 0;\n > function fcn() { n += 1; };\n > base.forEachGraphemeCluster( 'hello world!', fcn );\n > n\n 12\n\n See Also\n --------\n base.forEachCodePoint, forEachChar\n"
base.fresnel,"\nbase.fresnel( x )\n Computes the Fresnel integrals S(x) and C(x).\n\n Parameters\n ----------\n x: number\n Input value.\n\n Returns\n -------\n y: Array<number>\n S(x) and C(x).\n\n Examples\n --------\n > var y = base.fresnel( 0.0 )\n [ ~0.0, ~0.0 ]\n > y = base.fresnel( 1.0 )\n [ ~0.438, ~0.780 ]\n > y = base.fresnel( PINF )\n [ ~0.5, ~0.5 ]\n > y = base.fresnel( NINF )\n [ ~-0.5, ~-0.5 ]\n > y = base.fresnel( NaN )\n [ NaN, NaN ]\n\n\nbase.fresnel.assign( x, out, stride, offset )\n Computes the Fresnel integrals S(x) and C(x) and assigns results to a\n provided output array.\n\n Parameters\n ----------\n x: number\n Input value.\n\n out: Array<number>\n Destination array.\n\n stride: integer\n Output array stride.\n\n offset: integer\n Output array index offset.\n\n Returns\n -------\n out: Array<number>\n S(x) and C(x).\n\n Examples\n --------\n > var out = new Float64Array( 2 );\n > var v = base.fresnel.assign( 0.0, out, 1, 0 )\n <Float64Array>[ ~0.0, ~0.0 ]\n > var bool = ( v === out )\n true\n\n See Also\n --------\n base.fresnelc, base.fresnels"
base.fresnel.assign,"\nbase.fresnel.assign( x, out, stride, offset )\n Computes the Fresnel integrals S(x) and C(x) and assigns results to a\n provided output array.\n\n Parameters\n ----------\n x: number\n Input value.\n\n out: Array<number>\n Destination array.\n\n stride: integer\n Output array stride.\n\n offset: integer\n Output array index offset.\n\n Returns\n -------\n out: Array<number>\n S(x) and C(x).\n\n Examples\n --------\n > var out = new Float64Array( 2 );\n > var v = base.fresnel.assign( 0.0, out, 1, 0 )\n <Float64Array>[ ~0.0, ~0.0 ]\n > var bool = ( v === out )\n true\n\n See Also\n --------\n base.fresnelc, base.fresnels"
base.fresnelc,"\nbase.fresnelc( x )\n Computes the Fresnel integral C(x).\n\n Parameters\n ----------\n x: number\n Input value.\n\n Returns\n -------\n y: number\n C(x).\n\n Examples\n --------\n > var y = base.fresnelc( 0.0 )\n ~0.0\n > y = base.fresnelc( 1.0 )\n ~0.780\n > y = base.fresnelc( PINF )\n ~0.5\n > y = base.fresnelc( NINF )\n ~-0.5\n > y = base.fresnelc( NaN )\n NaN\n\n See Also\n --------\n base.fresnel, base.fresnels\n"
Expand Down
2 changes: 1 addition & 1 deletion help/data/data.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions info/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,9 @@ base.floorb,"\nbase.floorb( x:number, n:integer, b:integer )\n Rounds a numer
base.floorf,"\nbase.floorf( x:number )\n Rounds a single-precision floating-point number toward negative infinity.\n"
base.floorn,"\nbase.floorn( x:number, n:integer )\n Rounds a numeric value to the nearest multiple of `10^n` toward negative\n infinity.\n"
base.floorsd,"\nbase.floorsd( x:number, n:integer[, b:integer] )\n Rounds a numeric value to the nearest number toward negative infinity with\n `n` significant figures.\n"
base.forEachChar,"\nbase.forEachChar( str:string, clbk:Function[, thisArg:any] )\n Invokes a function for each UTF-16 code unit in a string.\n"
base.forEachCodePoint,"\nbase.forEachCodePoint( str:string, clbk:Function[, thisArg:any] )\n Invokes a function for each Unicode code point in a string.\n"
base.forEachGraphemeCluster,"\nbase.forEachGraphemeCluster( str:string, clbk:Function[, thisArg:any] )\n Invokes a function for each grapheme cluster (i.e., user-perceived\n character) in a string.\n"
base.fresnel,"\nbase.fresnel( x:number )\n Computes the Fresnel integrals S(x) and C(x).\n"
base.fresnel.assign,"\nbase.fresnel.assign( x:number, out:Array<number>, stride:integer, \n offset:integer )\n Computes the Fresnel integrals S(x) and C(x) and assigns results to a\n provided output array.\n"
base.fresnelc,"\nbase.fresnelc( x:number )\n Computes the Fresnel integral C(x).\n"
Expand Down
2 changes: 1 addition & 1 deletion info/data/data.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions signature/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,9 @@ base.floorb,"base.floorb( x, n, b )"
base.floorf,"base.floorf( x )"
base.floorn,"base.floorn( x, n )"
base.floorsd,"base.floorsd( x, n[, b] )"
base.forEachChar,"base.forEachChar( str, clbk[, thisArg] )"
base.forEachCodePoint,"base.forEachCodePoint( str, clbk[, thisArg] )"
base.forEachGraphemeCluster,"base.forEachGraphemeCluster( str, clbk[, thisArg] )"
base.fresnel,"base.fresnel( x )"
base.fresnel.assign,"base.fresnel.assign( x, out, stride, offset )"
base.fresnelc,"base.fresnelc( x )"
Expand Down
2 changes: 1 addition & 1 deletion signature/data/data.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions typed-signature/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,9 @@ base.floorb,"base.floorb( x:number, n:integer, b:integer )"
base.floorf,"base.floorf( x:number )"
base.floorn,"base.floorn( x:number, n:integer )"
base.floorsd,"base.floorsd( x:number, n:integer[, b:integer] )"
base.forEachChar,"base.forEachChar( str:string, clbk:Function[, thisArg:any] )"
base.forEachCodePoint,"base.forEachCodePoint( str:string, clbk:Function[, thisArg:any] )"
base.forEachGraphemeCluster,"base.forEachGraphemeCluster( str:string, clbk:Function[, thisArg:any] )"
base.fresnel,"base.fresnel( x:number )"
base.fresnel.assign,"base.fresnel.assign( x:number, out:Array<number>, stride:integer, offset:integer )"
base.fresnelc,"base.fresnelc( x: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 72391f9

Please sign in to comment.