Skip to content

docs: change examples for complex/float64/base/div #7180

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jun 4, 2025

Conversation

ShabiShett07
Copy link
Contributor


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: passed
  • 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: passed
  • 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 ---

none

Description

What is the purpose of this pull request?

This pull request:

  • change the implementation of javascript example

Related Issues

Does this pull request have any related issues?

This pull request:

  • none

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.


@stdlib-js/reviewers

---
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: passed
  - 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: passed
  - 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
---
@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Jun 2, 2025
@stdlib-bot
Copy link
Contributor

stdlib-bot commented Jun 2, 2025

Coverage Report

Package Statements Branches Functions Lines
complex/float64/base/div $\color{green}362/362$
$\color{green}+100.00\%$
$\color{green}21/21$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}362/362$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this PR.

Signed-off-by: Shabareesh Shetty <[email protected]>
Signed-off-by: Shabareesh Shetty <[email protected]>
Signed-off-by: Shabareesh Shetty <[email protected]>
Planeshifter
Planeshifter previously approved these changes Jun 2, 2025
@Planeshifter Planeshifter added the Ready To Merge A pull request which is ready to be merged. label Jun 2, 2025
@stdlib-bot
Copy link
Contributor

stdlib-bot commented Jun 2, 2025

PR Commit Message

chore: change examples for `complex/float64/base/div`

PR-URL: https://github.com/stdlib-js/stdlib/pull/7180

Reviewed-by: Philipp Burckhardt <[email protected]>
Reviewed-by: Athan Reines <[email protected]>
Signed-off-by: Shabareesh Shetty <[email protected]>

Please review the above commit message and make any necessary adjustments.

@stdlib-bot stdlib-bot removed the Needs Review A pull request which needs code review. label Jun 2, 2025
z3 = cdiv( z1, z2 );
console.log( '(%s) / (%s) = %s', z1.toString(), z2.toString(), z3.toString() );
}
// Perform division for each element of arrays
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Planeshifter Please make sure the comments are consistent and have the correct ending. I just pushed a change updating the comments for mul. These and other comments should follow suit.

console.log( '(%s) / (%s) = %s', z1.toString(), z2.toString(), z3.toString() );
}
// Perform division for each element of arrays:
logEachMap( '(%s) * (%s) = %s', z1, z2, cdiv );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is incorrect. cc @Planeshifter

console.log( '(%s) / (%s) = %s', z1.toString(), z2.toString(), z3.toString() );
}
// Perform division for each element of arrays
logEachMap( '(%s) * (%s) = %s', z1, z2, cdiv );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Planeshifter This is incorrect.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ShabiShett07 I suggest slowing down a bit and being more intentional about the changes are you making. Several of these PRs have copy-paste mistakes. Those need to be minimized, otherwise it undermines trust in your work.

@kgryte kgryte added Documentation Improvements, additions, or changes to documentation. GSoC Google Summer of Code. gsoc: 2025 Google Summer of Code (2025). Needs Changes Pull request which needs changes before being merged. and removed Ready To Merge A pull request which is ready to be merged. labels Jun 2, 2025
Signed-off-by: Shabareesh Shetty <[email protected]>
Signed-off-by: Shabareesh Shetty <[email protected]>
Signed-off-by: Shabareesh Shetty <[email protected]>
@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Jun 3, 2025
Signed-off-by: Shabareesh Shetty <[email protected]>
Signed-off-by: Shabareesh Shetty <[email protected]>
@Planeshifter Planeshifter added the Ready To Merge A pull request which is ready to be merged. label Jun 4, 2025
@stdlib-bot stdlib-bot removed the Needs Review A pull request which needs code review. label Jun 4, 2025
@stdlib-bot stdlib-bot removed the Needs Changes Pull request which needs changes before being merged. label Jun 4, 2025
@Planeshifter Planeshifter merged commit 4821a02 into stdlib-js:develop Jun 4, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Improvements, additions, or changes to documentation. GSoC Google Summer of Code. gsoc: 2025 Google Summer of Code (2025). Ready To Merge A pull request which is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants