extra-math 1.3.6 → 1.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +4 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -60,7 +60,7 @@ math.lcm(2, 3, 4);
60
60
  <br>
61
61
 
62
62
 
63
- ## Reference
63
+ ## References
64
64
 
65
65
  - [Yang, Z. H., & Tian, J. F. (2018). An accurate approximation formula for gamma function. Journal of inequalities and applications, 2018(1), 56.](https://doi.org/10.1186/s13660-018-1646-6)
66
66
  - [MathLib by @alawatthe](https://github.com/alawatthe/MathLib)
package/index.d.ts CHANGED
@@ -179,13 +179,15 @@ declare function gamma(x: number): number;
179
179
  */
180
180
  declare function lgamma(x: number): number;
181
181
  /**
182
- * TODO: Find error function value of number (approximation).
182
+ * Find error function value of number (approximation).
183
183
  * @param x a number
184
+ * @returns erf(x)
184
185
  */
185
186
  declare function erf(x: number): number;
186
187
  /**
187
- * TODO: Find the complementary error function value of number (approximation).
188
+ * Find the complementary error function value of number (approximation).
188
189
  * @param x a number
190
+ * @returns erfc(x)
189
191
  */
190
192
  declare function erfc(x: number): number;
191
193
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "extra-math",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "description": "Mathematics is the classification and study of all possible patterns.",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",