Skip to content

Commit 5df976a

Browse files
feat!: update namespace TypeScript declarations
BREAKING CHANGE: base parameter is no longer optional To migrate, users should always provide a base argument. To preserve previous behavior, users should be a third argument equal to `10`. PR-URL: #2637 Reviewed-by: Athan Reines <kgryte@gmail.com> Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com>
1 parent 80f7ad3 commit 5df976a

File tree

1 file changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/math/base/special/docs/types

1 file changed

+4
-4
lines changed

lib/node_modules/@stdlib/math/base/special/docs/types/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2257,19 +2257,19 @@ interface Namespace {
22572257
*
22582258
* @param x - input value
22592259
* @param n - number of significant figures
2260-
* @param b - base (default: 10)
2260+
* @param b - base
22612261
* @returns rounded value
22622262
*
22632263
* @example
2264-
* var v = ns.ceilsd( 3.141592653589793, 5 );
2264+
* var v = ns.ceilsd( 3.141592653589793, 5, 10 );
22652265
* // returns 3.1416
22662266
*
22672267
* @example
2268-
* var v = ns.ceilsd( 3.141592653589793, 1 );
2268+
* var v = ns.ceilsd( 3.141592653589793, 1, 10 );
22692269
* // returns 4.0
22702270
*
22712271
* @example
2272-
* var v = ns.ceilsd( 12368.0, 2 );
2272+
* var v = ns.ceilsd( 12368.0, 2, 10 );
22732273
* // returns 13000.0
22742274
*
22752275
* @example

0 commit comments

Comments
 (0)