From 84cc2991a1e92a2d9536eb4c6426ad723dbd19c8 Mon Sep 17 00:00:00 2001 From: Payal Goswami Date: Mon, 1 Dec 2025 13:53:16 +0000 Subject: [PATCH 1/3] chore: add structured package data for math/base/special/cfloorf --- 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: passed - 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: 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 --- --- .../math/base/special/cfloorf/package.json | 140 +++++++++++++++++- 1 file changed, 139 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/cfloorf/package.json b/lib/node_modules/@stdlib/math/base/special/cfloorf/package.json index 356213819cf8..7d1c2a89c5b0 100644 --- a/lib/node_modules/@stdlib/math/base/special/cfloorf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/cfloorf/package.json @@ -66,5 +66,143 @@ "complex", "cmplx", "number" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "cfloorf", + "alias": "cfloorf", + "pkg_desc": "round each component of a single-precision complex floating-point number toward negative infinity", + "desc": "rounds each component a single-precision complex floating-point number toward negative infinity", + "short_desc": "", + "parameters": [ + { + "name": "z", + "desc": "input value", + "type": { + "javascript": "Complex64", + "jsdoc": "Complex64", + "c": "stdlib_complex64_t", + "dtype": "complex64" + }, + "domain": null, + "rand": { + "prng": "random/base/uniform", + "parameters": [ + [ + -10, + 10 + ], + [ + -10, + 10 + ] + ] + }, + "example_values": [ + { + "re": -3.14, + "im": -1.5 + }, + { + "re": 0, + "im": 0 + }, + { + "re": -1.5, + "im": 2.5 + }, + { + "re": 2.5, + "im": -1.5 + }, + { + "re": 0, + "im": -3.7 + }, + { + "re": 4.2, + "im": 0 + }, + { + "re": 21.2, + "im": 3 + }, + { + "re": 11, + "im": -5 + }, + { + "re": 33, + "im": -14.67 + }, + { + "re": -42, + "im": 9.3 + }, + { + "re": -3, + "im": 3 + }, + { + "re": 73, + "im": 31 + }, + { + "re": -2.45, + "im": 1.23 + }, + { + "re": 2.45, + "im": -1.23 + }, + { + "re": 1.77, + "im": -3.14 + }, + { + "re": -7.5, + "im": 8.2 + }, + { + "re": 5.5, + "im": -12.3 + }, + { + "re": -15.8, + "im": 0.4 + }, + { + "re": 0.99, + "im": -0.99 + }, + { + "re": -8.4, + "im": 6.6 + } + ] + } + ], + "returns": { + "desc": "result", + "type": { + "javascript": "Complex64", + "jsdoc": "Complex64", + "c": "stdlib_complex64_t", + "dtype": "complex64" + } + }, + "keywords": [ + "floor", + "cfloorf", + "round", + "complex", + "cmplx", + "float32" + ], + "extra_keywords": [ + "math.floorf" + ] + } + } } From e464449d2e9b659045e78352ec7a1ac36511528a Mon Sep 17 00:00:00 2001 From: Athan Date: Wed, 3 Dec 2025 03:47:31 -0800 Subject: [PATCH 2/3] docs: fix base alias Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/cfloorf/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/cfloorf/package.json b/lib/node_modules/@stdlib/math/base/special/cfloorf/package.json index 7d1c2a89c5b0..b31f3c28c0d7 100644 --- a/lib/node_modules/@stdlib/math/base/special/cfloorf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/cfloorf/package.json @@ -70,7 +70,7 @@ "__stdlib__": { "scaffold": { "$schema": "math/base@v1.0", - "base_alias": "cfloorf", + "base_alias": "cfloor", "alias": "cfloorf", "pkg_desc": "round each component of a single-precision complex floating-point number toward negative infinity", "desc": "rounds each component a single-precision complex floating-point number toward negative infinity", From b276a6c557dd5bbc0445c0a2831305465399c281 Mon Sep 17 00:00:00 2001 From: Athan Date: Wed, 3 Dec 2025 03:49:09 -0800 Subject: [PATCH 3/3] chore: update keywords Signed-off-by: Athan --- .../@stdlib/math/base/special/cfloorf/package.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/cfloorf/package.json b/lib/node_modules/@stdlib/math/base/special/cfloorf/package.json index b31f3c28c0d7..2836b75d265b 100644 --- a/lib/node_modules/@stdlib/math/base/special/cfloorf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/cfloorf/package.json @@ -194,14 +194,13 @@ }, "keywords": [ "floor", - "cfloorf", + "cfloor", "round", "complex", - "cmplx", - "float32" + "cmplx" ], "extra_keywords": [ - "math.floorf" + "math.floor" ] } }