TheAlgorithms-C/math
Niranjan 144442afba
[feat/docs]: improve the Fibonacci algorithm (#1232)
* Improve the documentation of factorial.c

* Improve the documentation of fibonacci.c

* Update starting terms of fibonacci as 0 and 1

* Update math/fibonacci.c

Co-authored-by: Sharon "Cass" Cassidy <122662061+CascadingCascade@users.noreply.github.com>

* docs: Documenting the code

* test: Add test

* fix: fix the test expression

Co-authored-by: Sharon "Cass" Cassidy <122662061+CascadingCascade@users.noreply.github.com>

* feat: Restrict non-integer inputs

* fix: Change atoi() to sscanf()

* fix: Change atoi() to sscanf()

* fix: scanf() to getInput()

* fix: while, continue and break

Co-authored-by: Sharon "Cass" Cassidy <122662061+CascadingCascade@users.noreply.github.com>

* fix: Increase buffer size

* fix: Doesn't accept lengthy characters

* fix: Accepts empty characters

* fix: fibonacci.c

Co-authored-by: Sharon "Cass" Cassidy <122662061+CascadingCascade@users.noreply.github.com>

* feat: Add wikipedia link

* feat: Add author

Co-authored-by: David Leal <halfpacho@gmail.com>

* feat: Record time duration of function execution

* chore: apply suggestions from code review

Co-authored-by: Sharon "Cass" Cassidy <monadicdiffusive@proton.me>

* chore: apply suggestions from code review

Co-authored-by: Sharon "Cass" Cassidy <monadicdiffusive@proton.me>

---------

Co-authored-by: Sharon "Cass" Cassidy <122662061+CascadingCascade@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Sharon "Cass" Cassidy <monadicdiffusive@proton.me>
2023-04-20 13:59:14 -06:00
..
armstrong_number.c
cantor_set.c
cartesian_to_polar.c
catalan.c
CMakeLists.txt chore: add math to CMake lists (#1236) 2023-03-24 13:27:10 -06:00
collatz.c
euclidean_algorithm_extended.c feat: added extended Euclidean algorithm (#1238) 2023-04-13 15:33:10 -06:00
factorial_large_number.c
factorial_trailing_zeroes.c
factorial.c
fibonacci_dp.c
fibonacci_fast.c
fibonacci_formula.c
fibonacci.c [feat/docs]: improve the Fibonacci algorithm (#1232) 2023-04-20 13:59:14 -06:00
gcd.c
is_armstrong.c
large_factorials.c
lcm.c
lerp.c
palindrome.c
prime_factoriziation.c
prime_sieve.c
prime.c
strong_number.c