Commit History

Autor SHA1 Mensaxe Data
  Roberto Ierusalimschy 063d4e4543 Lua 5.3.5 ported to git %!s(int64=6) %!d(string=hai) anos
  Roberto Ierusalimschy 2a235312f0 detail (removing spaces at end of lines) %!s(int64=8) %!d(string=hai) anos
  Roberto Ierusalimschy 9903dd52a3 Using LUAI_UAC* types more consistently on vararg calls %!s(int64=8) %!d(string=hai) anos
  Roberto Ierusalimschy dc4232379d detail (ensure subtraction is done unsigned) %!s(int64=9) %!d(string=hai) anos
  Roberto Ierusalimschy be63d995c1 tiny bug: 'randomseed' was calling 'rand' (instead of 'l_rand') %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 7d930ec694 use 'log2' when available %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 1a7868c1d5 bug: 'random' limit is 2^31-1, not RAND_MAX %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 17ca3b1763 cleaner test for overflow for range of 'math.random' %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 28fdbcf393 added include for 'lprefix.h', for stuff that must be added before %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 463edee2fd 'lua_numtointeger' -> 'lua_numbertointeger' %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 65ec3379b1 added some casts for the cases when lua_Number != double %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 798660c9cd deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.) %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 925d1b59f9 new function 'math.ult' (unsigned less than) %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 8bb272a3e3 new conversion float->integer: conversion is valid only when %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy f14662fca6 detail (added placeholders for non-function fields to preallocate %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy b9dcf9974d detail (typos in comments) %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy a77d263e86 unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.) %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy e3871abe95 'math.ifloor' is back %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 355037528c 'math.mof' works with integers, too %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 456806f25c no more 'math.ifloor' + new semantics for 'math.floor'/'math.ceil' %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 8b66040e34 several functions deprecated (cosh, sinh, atanh, pow, frexp, ldexp) %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 6d5324f92f 'math.fmod' handles integers as integers %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy cbe4998bc2 'math.random(n,m)' interval restricted in size, to avoid using conversion %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 5336cc9d6a math.random: use 'random' when available + changes to work correctly %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy fdd137276b more precision for PI + no more RADIANS_PER_DEGREE + %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 8b45d9806a new constants 'math.maxint'/'math.minint' %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 607be77ec8 some details to avoid warnings %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 66b7b9b582 math.abs, math.max, and math.min work for integers, too. %!s(int64=11) %!d(string=hai) anos
  Roberto Ierusalimschy 4244da96bf 'debug.subtype' -> 'math.type' (to distinguish integers and floats) %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy fcf99bf788 'math.isfloat' replaced by 'debug.subtype' %!s(int64=12) %!d(string=hai) anos