Historia zmian

Autor SHA1 Wiadomość Data
  Roberto Ierusalimschy 6d5324f92f 'math.fmod' handles integers as integers 11 lat temu
  Roberto Ierusalimschy cbe4998bc2 'math.random(n,m)' interval restricted in size, to avoid using conversion 12 lat temu
  Roberto Ierusalimschy 5336cc9d6a math.random: use 'random' when available + changes to work correctly 12 lat temu
  Roberto Ierusalimschy fdd137276b more precision for PI + no more RADIANS_PER_DEGREE + 12 lat temu
  Roberto Ierusalimschy 8b45d9806a new constants 'math.maxint'/'math.minint' 12 lat temu
  Roberto Ierusalimschy 607be77ec8 some details to avoid warnings 12 lat temu
  Roberto Ierusalimschy 66b7b9b582 math.abs, math.max, and math.min work for integers, too. 12 lat temu
  Roberto Ierusalimschy 4244da96bf 'debug.subtype' -> 'math.type' (to distinguish integers and floats) 12 lat temu
  Roberto Ierusalimschy fcf99bf788 'math.isfloat' replaced by 'debug.subtype' 12 lat temu
  Roberto Ierusalimschy cbe164191c new function 'ifloor' 12 lat temu
  Roberto Ierusalimschy 15fdbd26fe 'numbits' moved from 'math' to 'debug' library 12 lat temu
  Roberto Ierusalimschy 80cdf39d0e avoid using 'modf' in the implementation of 'math.modf', to avoid 12 lat temu
  Roberto Ierusalimschy 788b251157 'math.random' operates with integers when used for integer results 12 lat temu
  Roberto Ierusalimschy 1414b7123c support for the case when 'l_mathop' does not conform to lua_Number 12 lat temu
  Roberto Ierusalimschy 0233ce0815 new function 'math.numbits' (not a final decision) 12 lat temu
  Roberto Ierusalimschy 29fe3abda2 new function 'math.isfloat' 12 lat temu
  Roberto Ierusalimschy 8830901a9c second parameter to 'ldexp' is an integer 13 lat temu
  Roberto Ierusalimschy 181a837cac small improvement in the support of 'float' as lua_Number 13 lat temu
  Roberto Ierusalimschy 3ac595da8a allow "long double" precision for PI constant if needed 13 lat temu
  Roberto Ierusalimschy 79cbc3468c removed and deprecated functions really removed from the code base 14 lat temu
  Roberto Ierusalimschy bcce769d29 avoid "unreacheable code" warnings 15 lat temu
  Roberto Ierusalimschy a1952d9c41 'l_tvar' renamed to 'l_tg' 15 lat temu
  Roberto Ierusalimschy 1a46a713d2 new macro 'l_tvar' to easy the use of mathlib with other floating 15 lat temu
  Roberto Ierusalimschy c6b64ffe65 new type lua_Unsigned and corresponding projection/injection functions 15 lat temu
  Roberto Ierusalimschy 7192afafee new module policy: C modules do not create globals and do not register 15 lat temu
  Roberto Ierusalimschy a6f465f558 new mark LUAMOD_API for all luaopen_* functions 16 lat temu
  Roberto Ierusalimschy 3ca739b418 'math.random' uses lua_Number to manage its arguments (there is no 17 lat temu
  Roberto Ierusalimschy a1d0e1a11a 'log10' is deprecated now 17 lat temu
  Roberto Ierusalimschy 8975739839 better precision for log(x, 10) 17 lat temu
  Roberto Ierusalimschy 8d3dd04137 clearing some old compatibility code 18 lat temu