Skip to content

Commit 33c429e

Browse files
docs(math/base/special/croundn): fix incorrect return annotation in C example
--- 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent ae72f8e commit 33c429e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • lib/node_modules/@stdlib/math/base/special/croundn/src

lib/node_modules/@stdlib/math/base/special/croundn/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
* stdlib_complex128_t out = stdlib_base_croundn( z, -2 );
3939
*
4040
* double re = stdlib_complex128_real( out );
41-
* // returns 3.14
41+
* // returns -3.14
4242
*
4343
* double im = stdlib_complex128_imag( out );
44-
* // returns -3.14
44+
* // returns 3.14
4545
*/
4646
stdlib_complex128_t stdlib_base_croundn( const stdlib_complex128_t z, const int32_t n ) {
4747
double re;

0 commit comments

Comments
 (0)