[PR #1233] [MERGED] feat: add bisection method #1823

Open
opened 2026-01-29 15:25:02 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/1233
Author: @aybarsnazlica
Created: 3/15/2023
Status: Merged
Merged: 4/5/2023
Merged by: @Panquesito7

Base: masterHead: bisection


📝 Commits (10+)

  • f91bf7c feat: add bisection method
  • 71f78a3 fix function documentation
  • 527bc67 fix float to zero comparison
  • a819b65 Merge branch 'master' into bisection
  • 3957651 fix error definition
  • d3add48 fix the sign function
  • cd05d6a change float type to double type
  • 191d9c9 fix sign comparison equals to zero
  • 9dbc983 remove pow function
  • 87eb303 Update numerical_methods/bisection_method.c

📊 Changes

1 file changed (+111 additions, -0 deletions)

View changed files

numerical_methods/bisection_method.c (+111 -0)

📄 Description

Description of Change

Added bisection method used for root finding.

References

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes:


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/1233 **Author:** [@aybarsnazlica](https://github.com/aybarsnazlica) **Created:** 3/15/2023 **Status:** ✅ Merged **Merged:** 4/5/2023 **Merged by:** [@Panquesito7](https://github.com/Panquesito7) **Base:** `master` ← **Head:** `bisection` --- ### 📝 Commits (10+) - [`f91bf7c`](https://github.com/TheAlgorithms/C/commit/f91bf7c2403840b71ea9d192dc4cfec573cfb77f) feat: add bisection method - [`71f78a3`](https://github.com/TheAlgorithms/C/commit/71f78a30d6449e0d0c45d3ed6be5b68a571e0e74) fix function documentation - [`527bc67`](https://github.com/TheAlgorithms/C/commit/527bc673a07d9577beb2aace10769bec11e5b43c) fix float to zero comparison - [`a819b65`](https://github.com/TheAlgorithms/C/commit/a819b650f94066274e0b2cc1fe2b029e00375a54) Merge branch 'master' into bisection - [`3957651`](https://github.com/TheAlgorithms/C/commit/395765124c1390d9523dd0babba6e08f0ec4253c) fix error definition - [`d3add48`](https://github.com/TheAlgorithms/C/commit/d3add48fd7d0c73d6378efd260d07cf66cf46df7) fix the sign function - [`cd05d6a`](https://github.com/TheAlgorithms/C/commit/cd05d6a915e1b1a8aa43eb3ec028778c4690977b) change float type to double type - [`191d9c9`](https://github.com/TheAlgorithms/C/commit/191d9c988ef2f4a3a8bee2853fc91329bf59cefd) fix sign comparison equals to zero - [`9dbc983`](https://github.com/TheAlgorithms/C/commit/9dbc983c94199c288af8570968d1909798871319) remove pow function - [`87eb303`](https://github.com/TheAlgorithms/C/commit/87eb303d786616f3921a0804347d1c372a57e48d) Update numerical_methods/bisection_method.c ### 📊 Changes **1 file changed** (+111 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `numerical_methods/bisection_method.c` (+111 -0) </details> ### 📄 Description #### Description of Change Added bisection method used for root finding. <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md --> #### References <!-- Add any reference to previous pull-request or issue --> #### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [x] Added tests and example, test must pass - [x] Relevant documentation/comments is changed or added - [x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [x] Search previous suggestions before making a new one, as yours may be a duplicate. - [x] I acknowledge that all my contributions will be made under the project's license. Notes: <!-- Please add a one-line description for developers or pull request viewers --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:25:02 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1823