TheAlgorithms / C-Sharp

All algorithms implemented in C#.
GNU General Public License v3.0
7.12k stars 1.52k forks source link

Add Ceil numeric algorithm #490

Closed Paulofalcao2002 closed 1 week ago

Paulofalcao2002 commented 1 week ago

Summary of the Change:

This pull request introduces the Ceil algorithm, which performs the ceiling operation on a number. Reference

Motivation

I wanted to include this algorithm since it is present in other languages repositories, such as python.

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.12%. Comparing base (f9f450c) to head (3252636). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #490 +/- ## ========================================== + Coverage 95.09% 95.12% +0.02% ========================================== Files 261 262 +1 Lines 10795 10799 +4 Branches 1516 1517 +1 ========================================== + Hits 10266 10273 +7 + Misses 403 400 -3 Partials 126 126 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.