Skip to content

Commit

Permalink
udpated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
camilo committed Jan 25, 2024
1 parent 9021766 commit 6033f2f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/include/ffmath.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,9 @@ namespace qlibs {
/**
* @brief Return the factorial of the integer part of @a x.
* @note The argument @a x needs to be positive
* @note This function overflows when @a x > 34
* @warning For @a x values greater than @c 14, result is imprecise because of
* the limited precision of the 32-bit floating point data-type.
* With @a x values greater than @c 35, this function overflows.
* @param[in] x The floating point value
* @return Upon successful completion, this function shall return the
* factorial of the integer part of x. If x is non-positive, factorial() shall
Expand Down

0 comments on commit 6033f2f

Please sign in to comment.