summaryrefslogtreecommitdiff
path: root/lmathlib.c (unfollow)
Commit message (Expand)AuthorFilesLines
2014-07-30new macro 'cvt2num' to better control whether strings are convertibleRoberto Ierusalimschy2-11/+18
2014-07-30new macro 'cvt2str' to better control whether numbers are convertibleRoberto Ierusalimschy6-52/+54
2014-07-30do not assume numbers are coercible to stringsRoberto Ierusalimschy1-4/+7
2014-07-29simpler definition for 'setobj' (trust the compiler for the assignment)Roberto Ierusalimschy4-11/+23
2014-07-29added some casts between integral types (to avoid warnings)Roberto Ierusalimschy4-15/+15
2014-07-28some janitorial work (comments, small refactoring)Roberto Ierusalimschy1-45/+96
2014-07-28new function 'math.ult' (unsigned less than)Roberto Ierusalimschy1-1/+10
2014-07-25first implementation for 'table.copy'Roberto Ierusalimschy1-1/+39
2014-07-24'ipairs' respects metamethodsRoberto Ierusalimschy3-7/+49
2014-07-24extra space for new threads is initialized with a copy of the mainRoberto Ierusalimschy1-3/+4
2014-07-24better support for extra user space associated with a Lua stateRoberto Ierusalimschy4-11/+23
2014-07-23detail (extra byte in LUAI_EXTRASPACE to test proper alignment ofRoberto Ierusalimschy1-2/+3
2014-07-23better(?) alignment for some structures (pointers first)Roberto Ierusalimschy1-13/+13
2014-07-23comments + proper undef of compatibility macros + no need to undefRoberto Ierusalimschy1-12/+22
2014-07-23no need for type 'pCallInfo'Roberto Ierusalimschy1-2/+2
2014-07-22'lua_replace' implemented as a macro using 'lua_copy'Roberto Ierusalimschy2-23/+13
2014-07-21more precise type for argument to 'aux_upvalue'Roberto Ierusalimschy1-4/+4
2014-07-21'iswhite' and related macros now can work directly on any objectRoberto Ierusalimschy3-9/+9
2014-07-19'iswhite' and related macros now can work directly on any objectRoberto Ierusalimschy3-15/+15
2014-07-19put the restriction that 'luaC_barrierback' works only on tablesRoberto Ierusalimschy3-29/+33
2014-07-19removed useless assertion (gcstate != GCSpause already implied byRoberto Ierusalimschy1-4/+4
2014-07-19in 'luaL_checkversion_' check numeric types first. (Other testsRoberto Ierusalimschy1-4/+3
2014-07-18no more "-2" for limits. (Limits should be precise; safety is inRoberto Ierusalimschy1-6/+6
2014-07-18detail (no need to define LUAI_USER_ALIGNMENT_T when it is notRoberto Ierusalimschy1-4/+5
2014-07-18type 'Udata' refers directly to structure inside the union (unionRoberto Ierusalimschy7-35/+48
2014-07-18type 'TString' refers directly to the structure inside the unionRoberto Ierusalimschy13-104/+102
2014-07-18ensure size for LUAI_USER_ALIGNMENT_T in tests is larger than theRoberto Ierusalimschy1-2/+2
2014-07-18added check for conversion 'obj2gco' (and corrections for smallRoberto Ierusalimschy10-39/+51
2014-07-17no need for field 'gch' anymoreRoberto Ierusalimschy5-81/+71
2014-07-17change in GCObject: instead of being a union, it is now a structureRoberto Ierusalimschy2-19/+30
2014-07-17new type 'lua_Ctx' for continuation-function contexts (to allow typeRoberto Ierusalimschy7-42/+63
2014-07-17new conversion float->integer: conversion is valid only whenRoberto Ierusalimschy4-35/+46
2014-07-16'requiref' checks 'package.loaded' before loading a moduleRoberto Ierusalimschy2-13/+22
2014-07-16function 'type' keeps type names as upvalues to avoid creating stringsRoberto Ierusalimschy1-8/+21
2014-07-16detail (added placeholders for non-function fields to preallocateRoberto Ierusalimschy3-3/+16
2014-07-16Table library now respects '__index'/'__newindex' metamethodsRoberto Ierusalimschy1-43/+96
2014-07-15removed unused parameter Ä'L' in macro 'api_check' and companyRoberto Ierusalimschy6-55/+52
2014-07-15added api check in 'lua_typename' (tag is valid)Roberto Ierusalimschy1-2/+3
2014-06-30detail (typos in comments)Roberto Ierusalimschy9-28/+28
2014-06-26unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.)Roberto Ierusalimschy6-32/+46
2014-06-26emergency collection can happen even when collector is stoppedRoberto Ierusalimschy1-5/+3
2014-06-26detail (comment)Roberto Ierusalimschy1-2/+2
2014-06-26unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.)Roberto Ierusalimschy1-48/+1
2014-06-26var-arguments to the script come from 'arg' table (not from originalRoberto Ierusalimschy1-10/+16
2014-06-26'IntPoint' -> 'point2int' + ensure that casted value fits inRoberto Ierusalimschy2-5/+5
2014-06-24LUA_MAXUNSIGNED was only used to define 2.0^intnumbits (and thatRoberto Ierusalimschy2-9/+8
2014-06-19use proper macros to convert 'GCObject' to other objects + betterRoberto Ierusalimschy1-24/+23
2014-06-19detail (avoid too large macro)Roberto Ierusalimschy1-3/+5
2014-06-19more precision between closure types ('LClosure' x 'CClosure')Roberto Ierusalimschy9-49/+49
2014-06-18use appropriate macros to convert GCObject to specific typesRoberto Ierusalimschy3-9/+17