Set the resolution of the output numbers
设置的分辨率输出数字
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The resolution is the number of random bits in the output numbers. The function allows to choose between resolution 53 and 32 bits.
该决议是随机数位输出数字。该功能允许选择在第53位和32位之间。
用法----------Usage----------
set.resolution(resolution)
参数----------Arguments----------
参数:resolution
Numeric, 53 or 32. The required number of bits.
数字53或32。所需的比特数量。
Details
详细信息----------Details----------
The new setting of the resolution is valid for the next calls to runif().
新设置的分辨率是对下调用runif()有效。
Resolution 53 bits requires two iterations of the internal generator and their outputs are combined to a single number. The slow down of 53 bit resolution compared to 32 bit resolution is about 20 percent, since an R call to runif() performs also other actions besides calling the generator itself and these actions are run only once.
第53位,需要两次迭代的内部发生器,其输出合并到一个单一的数字。慢下来的53位分辨率相比,32位分辨率的20%左右,因为r调用runif()执行之外的其他操作调用生成,而这些行动只运行一次。