Skip to content

Commit 3fa0763

Browse files
committed
remove: remove identity from namespace
This commit removes the `identity` symbol from the `@stdlib/math/base/special` namespace due to a package migration. BREAKING CHANGE: remove `identity` To migrate, users should access the same symbol via the `@stdlib/number/float64/base` namespace. --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 5bad5d8 commit 3fa0763

File tree

2 files changed

+0
-38
lines changed

2 files changed

+0
-38
lines changed

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

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ import haversin = require( '@stdlib/math/base/special/haversin' );
177177
import heaviside = require( '@stdlib/math/base/special/heaviside' );
178178
import hypot = require( '@stdlib/math/base/special/hypot' );
179179
import hypotf = require( '@stdlib/math/base/special/hypotf' );
180-
import identity = require( '@stdlib/math/base/special/identity' );
181180
import identityf = require( '@stdlib/math/base/special/identityf' );
182181
import inv = require( '@stdlib/math/base/special/inv' );
183182
import invf = require( '@stdlib/math/base/special/invf' );
@@ -4654,34 +4653,6 @@ interface Namespace {
46544653
*/
46554654
hypotf: typeof hypotf;
46564655

4657-
/**
4658-
* Evaluates the identity function for double-precision floating-point number `x`.
4659-
*
4660-
* @param x - input value
4661-
* @returns input value
4662-
*
4663-
* @example
4664-
* var v = ns.identity( -1.0 );
4665-
* // returns -1.0
4666-
*
4667-
* @example
4668-
* var v = ns.identity( 2.0 );
4669-
* // returns 2.0
4670-
*
4671-
* @example
4672-
* var v = ns.identity( 0.0 );
4673-
* // returns 0.0
4674-
*
4675-
* @example
4676-
* var v = ns.identity( -0.0 );
4677-
* // returns -0.0
4678-
*
4679-
* @example
4680-
* var v = ns.identity( NaN );
4681-
* // returns NaN
4682-
*/
4683-
identity: typeof identity;
4684-
46854656
/**
46864657
* Evaluates the identity function for single-precision floating-point number `x`.
46874658
*

lib/node_modules/@stdlib/math/base/special/lib/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1449,15 +1449,6 @@ setReadOnly( special, 'hypot', require( '@stdlib/math/base/special/hypot' ) );
14491449
*/
14501450
setReadOnly( special, 'hypotf', require( '@stdlib/math/base/special/hypotf' ) );
14511451

1452-
/**
1453-
* @name identity
1454-
* @memberof special
1455-
* @readonly
1456-
* @type {Function}
1457-
* @see {@link module:@stdlib/math/base/special/identity}
1458-
*/
1459-
setReadOnly( special, 'identity', require( '@stdlib/math/base/special/identity' ) );
1460-
14611452
/**
14621453
* @name identityf
14631454
* @memberof special

0 commit comments

Comments
 (0)