[PR #1542] [CLOSED] Improve documentation and handle negative numbers in palindrome.c #2149

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

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/1542
Author: @bhatiakashvi16
Created: 12/21/2025
Status: Closed

Base: masterHead: patch-1


📝 Commits (1)

  • fe54d76 Update isPalindrome function to handle negatives

📊 Changes

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

View changed files

📝 math/palindrome.c (+6 -0)

📄 Description

This PR improves the documentation of palindrome.c by explaining palindrome behaviour more clearly and it also handles negative numbers to improve the correctness.


🔄 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/1542 **Author:** [@bhatiakashvi16](https://github.com/bhatiakashvi16) **Created:** 12/21/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`fe54d76`](https://github.com/TheAlgorithms/C/commit/fe54d763afbe694bc6706aca0719f844ec2669af) Update isPalindrome function to handle negatives ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `math/palindrome.c` (+6 -0) </details> ### 📄 Description This PR improves the documentation of palindrome.c by explaining palindrome behaviour more clearly and it also handles negative numbers to improve the correctness. --- <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:29:36 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#2149