summaryrefslogtreecommitdiff
path: root/lmathlib.c
Commit message (Expand)AuthorAgeFilesLines
* DetailsRoberto Ierusalimschy2022-12-021-5/+5
* DetailRoberto Ierusalimschy2022-01-031-2/+2
* Broadening the use of branch hintsRoberto Ierusalimschy2021-02-241-2/+3
* Several details about 5.4.0 rc1Roberto Ierusalimschy2020-04-231-1/+1
* DetailsRoberto Ierusalimschy2020-02-271-13/+15
* 'l_mathlim' renamed to 'l_floatatt'Roberto Ierusalimschy2019-12-051-1/+1
* Added macro 'luaL_pushfail'Roberto Ierusalimschy2019-08-161-2/+2
* 'math.randomseed' always returns the two seed componentsRoberto Ierusalimschy2019-07-191-7/+7
* 'math.randomseed()' returns the seeds it usedRoberto Ierusalimschy2019-07-171-2/+7
* Define LUA_MAXUNSIGNED as a preprocessor constantRoberto Ierusalimschy2019-05-141-2/+2
* A few changes in tests about number of bits in integersRoberto Ierusalimschy2019-05-131-4/+4
* 'math.randomseed()' sets a somewhat random seedRoberto Ierusalimschy2019-03-131-10/+21
* 'math.rand()' uses higher bits to produce float valueRoberto Ierusalimschy2018-12-111-20/+38
* Removed extra information from RCS keyword stringsRoberto Ierusalimschy2018-08-231-1/+1
* type 'Rand64' may not be long long, so it should not use 'LL' in itsRoberto Ierusalimschy2018-06-141-4/+5
* using some weak "randomness" (time and memory address) to initializeRoberto Ierusalimschy2018-05-161-10/+21
* correction on xoshiro256** algorithmRoberto Ierusalimschy2018-05-091-3/+3
* reorganization of '#if's for sellecting a type for 'Rand64' +Roberto Ierusalimschy2018-05-041-31/+56
* detail (trim constants are unsigned)Roberto Ierusalimschy2018-04-061-3/+3
* PRNG changed from 'xoroshiro128+' to 'xoshiro256**' + "I' renamed 'Rand64'Roberto Ierusalimschy2018-04-061-73/+109
* using 'xoroshiro128+' for PRNGRoberto Ierusalimschy2018-04-041-87/+88
* in 'random', uses high-order bits instead of low-orderRoberto Ierusalimschy2018-03-261-49/+68
* in random/'project', remove the special case for "small" intervals;Roberto Ierusalimschy2018-03-221-24/+15
* avoid functions named 'pack'Roberto Ierusalimschy2018-03-161-7/+7
* 'lu_int32' may not be 'int'Roberto Ierusalimschy2018-03-121-10/+13
* more explicit casts when converting an integer to a random floatRoberto Ierusalimschy2018-03-111-3/+5
* random floats of different sizes get exactly needed number of random bitsRoberto Ierusalimschy2018-03-091-30/+58
* slight simplification in 'xorshift128plus'Roberto Ierusalimschy2018-03-091-9/+11
* fairer projection of random integers into an integer intervalRoberto Ierusalimschy2018-03-091-15/+54
* 'math.random' using the xorshift128+ algorithmRoberto Ierusalimschy2018-03-051-36/+195
* detail (removing spaces at end of lines)Roberto Ierusalimschy2016-12-221-4/+4
* Using LUAI_UAC* types more consistently on vararg callsRoberto Ierusalimschy2016-12-201-4/+7
* detail (ensure subtraction is done unsigned)Roberto Ierusalimschy2015-10-021-2/+2
* tiny bug: 'randomseed' was calling 'rand' (instead of 'l_rand')Roberto Ierusalimschy2015-06-261-2/+2
* use 'log2' when availableRoberto Ierusalimschy2015-03-121-1/+4
* bug: 'random' limit is 2^31-1, not RAND_MAXRoberto Ierusalimschy2014-12-271-3/+5
* cleaner test for overflow for range of 'math.random'Roberto Ierusalimschy2014-11-071-3/+3
* added include for 'lprefix.h', for stuff that must be added beforeRoberto Ierusalimschy2014-11-021-4/+6
* 'lua_numtointeger' -> 'lua_numbertointeger'Roberto Ierusalimschy2014-10-241-2/+2
* added some casts for the cases when lua_Number != doubleRoberto Ierusalimschy2014-10-081-6/+6
* deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.)Roberto Ierusalimschy2014-10-011-2/+2
* new function 'math.ult' (unsigned less than)Roberto Ierusalimschy2014-07-281-1/+10
* new conversion float->integer: conversion is valid only whenRoberto Ierusalimschy2014-07-171-20/+21
* detail (added placeholders for non-function fields to preallocateRoberto Ierusalimschy2014-07-161-1/+6
* detail (typos in comments)Roberto Ierusalimschy2014-06-301-3/+3
* unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.)Roberto Ierusalimschy2014-06-261-2/+2
* 'math.ifloor' is backRoberto Ierusalimschy2014-06-181-1/+15
* 'math.mof' works with integers, tooRoberto Ierusalimschy2014-06-021-12/+24
* no more 'math.ifloor' + new semantics for 'math.floor'/'math.ceil'Roberto Ierusalimschy2014-05-261-14/+18
* several functions deprecated (cosh, sinh, atanh, pow, frexp, ldexp)Roberto Ierusalimschy2014-05-141-66/+72