Merge branch 'document/others' into document/temp

* document/others:
  fix happy number code and documetnation
  added see also reference to fibonacci
This commit is contained in:
Krishna Vedala 2020-05-28 16:50:02 -04:00
commit 8775585ad0
No known key found for this signature in database
GPG Key ID: BA19ACF8FC8792F7
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@
* found if we have already found n/2th or (n+1)/2th fibonacci It is a property * found if we have already found n/2th or (n+1)/2th fibonacci It is a property
* of fibonacci similar to matrix exponentiation. * of fibonacci similar to matrix exponentiation.
* *
* @see fibonacci_large.cpp, fibonacci.cpp * @see fibonacci_large.cpp, fibonacci.cpp, string_fibonacci.cpp
*/ */
#include <cinttypes> #include <cinttypes>

View File

@ -1,7 +1,7 @@
/** /**
* A [happy number](https://en.wikipedia.org/wiki/Happy_number) is a decimal * @file
* number whose sum of digits is calculated until the sum is a single digit, and * @brief A happy number is a number whose sum of digits is calculated until the
* this sum turns out to be 1. * sum is a single digit, and this sum turns out to be 1
*/ */
#include <iostream> #include <iostream>