From 5ac614c17c75d2d89962284657b73048f5e3e14d Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Thu, 30 Jul 2015 16:48:23 +0200 Subject: fix typos in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index c1dc5fb..4d4c244 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,8 @@ be the same in both languages, provided the same seed is used. How --- -In Python, the interface SyncRNG.py can be used as an importable module. In R, -it is adviced to simply source the 'SyncRNG.R' file. Before use, make sure to +In Python, the interface `SyncRNG.py` can be used as an importable module. In +R, it suffices to simply source the `SyncRNG.R` file. Before use, make sure to build both shared libraries using: make @@ -52,7 +52,7 @@ You'll notice that the random numbers are indeed the same. Notes ----- -Since R is not capable of reliable handling integers larger than `2^32 - 1`, +Since R is not capable of reliably handling integers larger than `2^32 - 1`, the random numbers are internally capped at this value (using a bitwise and with `0x7FFFFFF`), this influences the quality of the random numbers. The random numbers are no longer uniformly distributed on `[0, 2^32 -1]`. For the -- cgit v1.2.3