From 12eb14561ad70270e833432b3fe357b4bbb72ca5 Mon Sep 17 00:00:00 2001 From: nakul-krishnakumar Date: Mon, 25 Aug 2025 15:49:43 +0530 Subject: [PATCH 1/4] chore: add structured package data for `math/base/special/cceil` --- 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../math/base/special/cceil/package.json | 79 ++++++++++++++++++- 1 file changed, 78 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/cceil/package.json b/lib/node_modules/@stdlib/math/base/special/cceil/package.json index aaae6ab20ad4..d6f6c0a91f38 100644 --- a/lib/node_modules/@stdlib/math/base/special/cceil/package.json +++ b/lib/node_modules/@stdlib/math/base/special/cceil/package.json @@ -66,5 +66,82 @@ "complex", "cmplx", "number" - ] + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "ceil", + "alias": "cceil", + "pkg_desc": "round each component of a double-precision complex floating-point number toward positive infinity", + "desc": "rounds each component of a double-precision complex floating-point number toward positive infinity", + "short_desc": "complex ceil", + "parameters": [ + { + "name": "z", + "desc": "input value", + "type": { + "javascript": "Complex128", + "jsdoc": "Complex128", + "c": "stdlib_complex128_t", + "dtype": "complex128" + }, + "domain": [ + { + "min": "-infinity", + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -10, + 10 + ] + }, + "example_values": [ + { "re": 3.14, "im": 1.5 }, + { "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 } + ] + } + ], + "returns": { + "desc": "rounded complex value", + "type": { + "javascript": "Complex128", + "jsdoc": "Complex128", + "c": "stdlib_complex128_t", + "dtype": "complex128" + } + }, + "keywords": [ + "ceil", + "cceil", + "round", + "complex", + "complex128", + "positive infinity" + ], + "extra_keywords": [ + "math.ceil" + ] + } + } } From d8cc1f7c6fd43f7dd1ef43ff49b24c5e1efdfe72 Mon Sep 17 00:00:00 2001 From: nakul-krishnakumar Date: Mon, 25 Aug 2025 16:02:28 +0530 Subject: [PATCH 2/4] chore: changed `example_values` according to code review --- 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../math/base/special/cceil/package.json | 96 +++++++++++++++---- 1 file changed, 76 insertions(+), 20 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/cceil/package.json b/lib/node_modules/@stdlib/math/base/special/cceil/package.json index d6f6c0a91f38..286491485839 100644 --- a/lib/node_modules/@stdlib/math/base/special/cceil/package.json +++ b/lib/node_modules/@stdlib/math/base/special/cceil/package.json @@ -99,26 +99,82 @@ ] }, "example_values": [ - { "re": 3.14, "im": 1.5 }, - { "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": -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 + } ] } ], From 8c3e2a86b982bc6fc6112938de4ec1ea6310d57a Mon Sep 17 00:00:00 2001 From: Athan Date: Mon, 25 Aug 2025 04:25:05 -0700 Subject: [PATCH 3/4] chore: update keywords Signed-off-by: Athan --- lib/node_modules/@stdlib/math/base/special/cceil/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/cceil/package.json b/lib/node_modules/@stdlib/math/base/special/cceil/package.json index 286491485839..b2de3fdb2cbb 100644 --- a/lib/node_modules/@stdlib/math/base/special/cceil/package.json +++ b/lib/node_modules/@stdlib/math/base/special/cceil/package.json @@ -193,7 +193,7 @@ "round", "complex", "complex128", - "positive infinity" + "ceiling" ], "extra_keywords": [ "math.ceil" From b18198ea65c1f129faa24d87797952a80b8c5a80 Mon Sep 17 00:00:00 2001 From: Athan Date: Mon, 25 Aug 2025 04:25:22 -0700 Subject: [PATCH 4/4] docs: update descriptions Signed-off-by: Athan --- .../@stdlib/math/base/special/cceil/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/cceil/package.json b/lib/node_modules/@stdlib/math/base/special/cceil/package.json index b2de3fdb2cbb..fa869de61953 100644 --- a/lib/node_modules/@stdlib/math/base/special/cceil/package.json +++ b/lib/node_modules/@stdlib/math/base/special/cceil/package.json @@ -72,9 +72,9 @@ "$schema": "math/base@v1.0", "base_alias": "ceil", "alias": "cceil", - "pkg_desc": "round each component of a double-precision complex floating-point number toward positive infinity", - "desc": "rounds each component of a double-precision complex floating-point number toward positive infinity", - "short_desc": "complex ceil", + "pkg_desc": "round each component of a complex number toward positive infinity", + "desc": "rounds each component of a complex number toward positive infinity", + "short_desc": "", "parameters": [ { "name": "z",