Commit History

作者 SHA1 備註 提交日期
  Roberto Ierusalimschy aedcfb9414 type 'Rand64' may not be long long, so it should not use 'LL' in its 7 年之前
  Roberto Ierusalimschy de53c2ec7e using some weak "randomness" (time and memory address) to initialize 7 年之前
  Roberto Ierusalimschy 80bd4a8940 correction on xoshiro256** algorithm 7 年之前
  Roberto Ierusalimschy 3e7415e846 reorganization of '#if's for sellecting a type for 'Rand64' + 7 年之前
  Roberto Ierusalimschy 762baf0548 detail (trim constants are unsigned) 7 年之前
  Roberto Ierusalimschy b8a04658b2 PRNG changed from 'xoroshiro128+' to 'xoshiro256**' + "I' renamed 'Rand64' 7 年之前
  Roberto Ierusalimschy b44787652b using 'xoroshiro128+' for PRNG 7 年之前
  Roberto Ierusalimschy bdd10a08b1 in 'random', uses high-order bits instead of low-order 7 年之前
  Roberto Ierusalimschy c5e3b2f814 in random/'project', remove the special case for "small" intervals; 7 年之前
  Roberto Ierusalimschy 89da4168df avoid functions named 'pack' 7 年之前
  Roberto Ierusalimschy 6b01b6cf6a 'lu_int32' may not be 'int' 7 年之前
  Roberto Ierusalimschy e3388ebfad more explicit casts when converting an integer to a random float 7 年之前
  Roberto Ierusalimschy dbec41f34c random floats of different sizes get exactly needed number of random bits 7 年之前
  Roberto Ierusalimschy 0b3db69e41 slight simplification in 'xorshift128plus' 7 年之前
  Roberto Ierusalimschy 80ae1c1c16 fairer projection of random integers into an integer interval 7 年之前
  Roberto Ierusalimschy 66b7b075a6 'math.random' using the xorshift128+ algorithm 7 年之前
  Roberto Ierusalimschy 2a235312f0 detail (removing spaces at end of lines) 8 年之前
  Roberto Ierusalimschy 9903dd52a3 Using LUAI_UAC* types more consistently on vararg calls 8 年之前
  Roberto Ierusalimschy dc4232379d detail (ensure subtraction is done unsigned) 9 年之前
  Roberto Ierusalimschy be63d995c1 tiny bug: 'randomseed' was calling 'rand' (instead of 'l_rand') 10 年之前
  Roberto Ierusalimschy 7d930ec694 use 'log2' when available 10 年之前
  Roberto Ierusalimschy 1a7868c1d5 bug: 'random' limit is 2^31-1, not RAND_MAX 10 年之前
  Roberto Ierusalimschy 17ca3b1763 cleaner test for overflow for range of 'math.random' 10 年之前
  Roberto Ierusalimschy 28fdbcf393 added include for 'lprefix.h', for stuff that must be added before 10 年之前
  Roberto Ierusalimschy 463edee2fd 'lua_numtointeger' -> 'lua_numbertointeger' 10 年之前
  Roberto Ierusalimschy 65ec3379b1 added some casts for the cases when lua_Number != double 10 年之前
  Roberto Ierusalimschy 798660c9cd deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.) 10 年之前
  Roberto Ierusalimschy 925d1b59f9 new function 'math.ult' (unsigned less than) 11 年之前
  Roberto Ierusalimschy 8bb272a3e3 new conversion float->integer: conversion is valid only when 11 年之前
  Roberto Ierusalimschy f14662fca6 detail (added placeholders for non-function fields to preallocate 11 年之前