Skip to content

Commit

Permalink
Apply suggestions from oscar code review
Browse files Browse the repository at this point in the history
Co-authored-by: Oscar Spencer <[email protected]>
  • Loading branch information
spotandjake and ospencer authored Oct 30, 2024
1 parent 4ce2d93 commit cbea31e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/number.gr
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ provide let tan = (radians: Number) => {
// Math.gamma implemented using the Lanczos approximation
// https://en.wikipedia.org/wiki/Lanczos_approximation
/**
* Computes the gamma function of a value using Lanczos approximation.
* Computes the gamma function of a value using the Lanczos approximation.
*
* @param z: The value to interpolate
* @returns The gamma of the given value
Expand Down Expand Up @@ -1173,7 +1173,7 @@ provide let rec gamma = z => {
}

/**
* Computes the product of consecutive integers for an integer input and computes the gamma function for non-integer inputs.
* Computes the factorial of an integer input or the gamma function of a non-integer input.
*
* @param n: The value to factorialize
* @returns The factorial of the given value
Expand Down

0 comments on commit cbea31e

Please sign in to comment.