TheAlgorithms / C-Sharp

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

Add Floor numeric algorithm #493

Closed Paulofalcao2002 closed 4 weeks ago

Paulofalcao2002 commented 4 weeks ago

Summary of the Change:

This pull request introduces the Floor algorithm, which performs the floor operation on a number. Reference

Motivation

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

codecov[bot] commented 4 weeks ago

Codecov Report

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

Project coverage is 95.14%. Comparing base (5239e71) to head (7a4f1f6). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #493 +/- ## ======================================= Coverage 95.13% 95.14% ======================================= Files 262 263 +1 Lines 10799 10803 +4 Branches 1517 1518 +1 ======================================= + Hits 10274 10278 +4 Misses 400 400 Partials 125 125 ```

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