Skip to content

Commit 7dc5639

Browse files
feat: add floorf function to ssort2hp implementation and remove unused source file
--- 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: na - 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: passed - 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na ---
1 parent 6c1f9aa commit 7dc5639

File tree

3 files changed

+5
-155
lines changed

3 files changed

+5
-155
lines changed

lib/node_modules/@stdlib/blas/ext/base/ssort2hp/manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"@stdlib/napi/argv-strided-float32array",
4646
"@stdlib/math/base/special/floor",
4747
"@stdlib/napi/create-double",
48+
"@stdlib/math/base/special/floorf",
4849
"@stdlib/strided/base/stride2offset",
4950
"@stdlib/blas/base/shared"
5051
]
@@ -63,6 +64,7 @@
6364
"@stdlib/math/base/assert/is-nanf",
6465
"@stdlib/math/base/special/floor",
6566
"@stdlib/math/base/assert/is-positive-zerof",
67+
"@stdlib/math/base/special/floorf",
6668
"@stdlib/strided/base/stride2offset",
6769
"@stdlib/blas/base/shared"
6870
]
@@ -81,6 +83,7 @@
8183
"@stdlib/math/base/assert/is-nanf",
8284
"@stdlib/math/base/special/floor",
8385
"@stdlib/math/base/assert/is-positive-zerof",
86+
"@stdlib/math/base/special/floorf",
8487
"@stdlib/strided/base/stride2offset",
8588
"@stdlib/blas/base/shared"
8689
]

lib/node_modules/@stdlib/blas/ext/base/ssort2hp/src/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include "stdlib/blas/ext/base/ssort2hp.h"
2020
#include "stdlib/math/base/assert/is_positive_zerof.h"
2121
#include "stdlib/math/base/assert/is_nanf.h"
22+
#include "stdlib/math/base/special/floorf.h"
2223
#include <stdbool.h>
2324

2425
/**
@@ -95,7 +96,7 @@ void API_SUFFIX(stdlib_strided_dsort2sh_ndarray)( const CBLAS_INT N, const CBLAS
9596
n = N;
9697

9798
// Specify an initial "parent" index for building the heap:
98-
parent = floorf( N / 2 );
99+
parent = stdlib_base_floorf( N / 2 );
99100

100101
// Continue looping until the array is sorted...
101102
while ( true ) {

lib/node_modules/@stdlib/blas/ext/base/ssort2hp/src/ssort2hp.c

Lines changed: 0 additions & 154 deletions
This file was deleted.

0 commit comments

Comments
 (0)