Skip to content

Commit 36d3db3

Browse files
gururaj1512kgryte
authored andcommitted
remove: remove identityf from namespace
This commit removes the `identityf` symbol from the `@stdlib/math/base/special` namespace due to a package migration. BREAKING CHANGE: remove `identityf` To migrate, users should access the same symbol via the `@stdlib/number/float32/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 0572aac commit 36d3db3

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 identityf = require( '@stdlib/math/base/special/identityf' );
181180
import inv = require( '@stdlib/math/base/special/inv' );
182181
import invf = require( '@stdlib/math/base/special/invf' );
183182
import kernelBetainc = require( '@stdlib/math/base/special/kernel-betainc' );
@@ -4653,34 +4652,6 @@ interface Namespace {
46534652
*/
46544653
hypotf: typeof hypotf;
46554654

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

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 identityf
1454-
* @memberof special
1455-
* @readonly
1456-
* @type {Function}
1457-
* @see {@link module:@stdlib/math/base/special/identityf}
1458-
*/
1459-
setReadOnly( special, 'identityf', require( '@stdlib/math/base/special/identityf' ) );
1460-
14611452
/**
14621453
* @name inv
14631454
* @memberof special

0 commit comments

Comments
 (0)