> A quick recap what has been done in the last week.
I already took a short look at the math docs some days ago.
When you really are interested in high quality you may think about these 3
points:
https://nim-lang.github.io/Nim/math.html
MaxFloat64Precision = 16
Maximum number of meaningful digits after the decimal point for Nim's
float64 type.
proc fac(n: int): int {...}
Computes the factorial of a non-negative integer n.
This module is available for the JavaScript target.
Run
The potential issues should be obvious: (1. It is not the number of digits
after the decimal point, it is the number of digits. You made the sentence
longer, which restrict it truth value to output in scientific notation. 2.
fac(), why is argument int, when we have Natural. With natural the long
explanation "of a non-negative integer" would be obsolete. 3. Is module ONLY
available for JavaScript, not for C? People not familiar with Nim may think so.)