diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/luaossl.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/luaossl.tex b/doc/luaossl.tex index 5bdc67d..94ee18e 100644 --- a/doc/luaossl.tex +++ b/doc/luaossl.tex | |||
@@ -754,7 +754,7 @@ In the default CSPRNG engine this routine will also attempt to seed the system i | |||
754 | 754 | ||
755 | Returns a cryptographically strong uniform random integer in the interval $[0, n-1]$. If $n$ is omitted, the interval is $[0, 2^{64}-1]$. | 755 | Returns a cryptographically strong uniform random integer in the interval $[0, n-1]$. If $n$ is omitted, the interval is $[0, 2^{64}-1]$. |
756 | 756 | ||
757 | The routine operates internally on 64-bit unsigned integers.\footnote{Actually, \texttt{unsigned long long}.} Because neither Lua 5.1 nor 5.2 support 64-bit integers, it's probably best to generate numbers that fit the integral range of your Lua implementation. Lua 5.3 is expected to add a new arithmetic type for 64-bit signed integers in two's-complement representation. This new arithmetic type will be used for return values when available. | 757 | The routine operates internally on 64-bit unsigned integers.\footnote{Actually, \texttt{unsigned long long}.} Because neither Lua 5.1 nor 5.2 support 64-bit integers, it's probably best to generate numbers that fit the integral range of your Lua implementation. Lua 5.3 supports a new arithmetic type for 64-bit signed integers in two's-complement representation. This new arithmetic type will be used for argument and return values when available. |
758 | 758 | ||
759 | \end{Module} | 759 | \end{Module} |
760 | 760 | ||