Skip to content

Commit 80f11b8

Browse files
committedFeb 26, 2025
remove: remove subf from namespace
This commit removes the `subf` symbol from the `@stdlib/math/base/ops` namespace due to a package migration. BREAKING CHANGE: remove `subf` 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 e8c4318 commit 80f11b8

File tree

2 files changed

+0
-39
lines changed

2 files changed

+0
-39
lines changed
 

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

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import csubf = require( '@stdlib/math/base/ops/csubf' );
3232
import imul = require( '@stdlib/math/base/ops/imul' );
3333
import imuldw = require( '@stdlib/math/base/ops/imuldw' );
3434
import mulf = require( '@stdlib/number/float32/base/mul' );
35-
import subf = require( '@stdlib/math/base/ops/subf' );
3635
import umul = require( '@stdlib/math/base/ops/umul' );
3736
import umuldw = require( '@stdlib/math/base/ops/umuldw' );
3837
import addf = require( '@stdlib/number/float32/base/add' );
@@ -476,35 +475,6 @@ interface Namespace {
476475
*/
477476
mulf: typeof mulf;
478477

479-
/**
480-
* Subtracts two single-precision floating-point numbers `x` and `y`.
481-
*
482-
* @param x - first input value
483-
* @param y - second input value
484-
* @returns result
485-
*
486-
* @example
487-
* var v = ns.subf( -1.0, 5.0 );
488-
* // returns -6.0
489-
*
490-
* @example
491-
* var v = ns.subf( 2.0, 5.0 );
492-
* // returns -3.0
493-
*
494-
* @example
495-
* var v = ns.subf( 0.0, 5.0 );
496-
* // returns -5.0
497-
*
498-
* @example
499-
* var v = ns.subf( -0.0, 0.0 );
500-
* // returns -0.0
501-
*
502-
* @example
503-
* var v = ns.subf( NaN, NaN );
504-
* // returns NaN
505-
*/
506-
subf: typeof subf;
507-
508478
/**
509479
* Performs C-like multiplication of two unsigned 32-bit integers.
510480
*

‎lib/node_modules/@stdlib/math/base/ops/lib/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,6 @@ setReadOnly( ns, 'imul', require( '@stdlib/math/base/ops/imul' ) );
135135
*/
136136
setReadOnly( ns, 'imuldw', require( '@stdlib/math/base/ops/imuldw' ) );
137137

138-
/**
139-
* @name subf
140-
* @memberof ns
141-
* @readonly
142-
* @type {Function}
143-
* @see {@link module:@stdlib/math/base/ops/subf}
144-
*/
145-
setReadOnly( ns, 'subf', require( '@stdlib/math/base/ops/subf' ) );
146-
147138
/**
148139
* @name umul
149140
* @memberof ns

0 commit comments

Comments
 (0)