[PR #658] [MERGED] Add another hexadecimal to octal conversion #1126

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

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/658
Author: @yous
Created: 10/14/2020
Status: Merged
Merged: 10/21/2020
Merged by: @Panquesito7

Base: masterHead: hex-to-oct


📝 Commits (5)

  • cd02534 Add another hexadecimal to octal conversion
  • 076f62c Apply suggestions
  • c5d2109 Update comment of hexadecimal_to_octal2.c
  • 32113eb updating DIRECTORY.md
  • df1b119 Apply suggestions

📊 Changes

2 files changed (+120 additions, -0 deletions)

View changed files

📝 DIRECTORY.md (+1 -0)
conversions/hexadecimal_to_octal2.c (+119 -0)

📄 Description

Description of Change

Now input supports the whole range of uint64_t, from 0 to FFFF FFFF FFFF FFFF.

This first converts a hex string to an unsigned long long decimal, and then to an octal string.

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/658 **Author:** [@yous](https://github.com/yous) **Created:** 10/14/2020 **Status:** ✅ Merged **Merged:** 10/21/2020 **Merged by:** [@Panquesito7](https://github.com/Panquesito7) **Base:** `master` ← **Head:** `hex-to-oct` --- ### 📝 Commits (5) - [`cd02534`](https://github.com/TheAlgorithms/C/commit/cd02534dfca21e9098d68a247e461f647b759163) Add another hexadecimal to octal conversion - [`076f62c`](https://github.com/TheAlgorithms/C/commit/076f62cf1e13a4d42a305069668a31e3f2e054b9) Apply suggestions - [`c5d2109`](https://github.com/TheAlgorithms/C/commit/c5d21097e49d80efa37df14d34ad533ad8e35b81) Update comment of hexadecimal_to_octal2.c - [`32113eb`](https://github.com/TheAlgorithms/C/commit/32113eb22ca63d78ac50d33568f132c1386b1ad8) updating DIRECTORY.md - [`df1b119`](https://github.com/TheAlgorithms/C/commit/df1b119b70b57dccf803f7f098252cdec24e9338) Apply suggestions ### 📊 Changes **2 files changed** (+120 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `DIRECTORY.md` (+1 -0) ➕ `conversions/hexadecimal_to_octal2.c` (+119 -0) </details> ### 📄 Description #### Description of Change <!-- 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 --> Now input supports the whole range of `uint64_t`, from `0` to `FFFF FFFF FFFF FFFF`. This first converts a hex string to an `unsigned long long` decimal, and then to an octal string. #### References <!-- Add any reference to previous pull-request or issue --> #### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [ ] Added description of change - [ ] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [ ] Added tests and example, test must pass - [x] Relevant documentation/comments is changed or added - [ ] 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 --> <a href="https://gitpod.io/#https://github.com/TheAlgorithms/C/pull/658"><img src="https://gitpod.io/api/apps/github/pbs/github.com/yous/TheAlgorithms-C.git/df1b119b70b57dccf803f7f098252cdec24e9338.svg" /></a> --- <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:17:46 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1126