Histórico de Commits

Autor SHA1 Mensagem Data
  Roberto Ierusalimschy 65ec3379b1 added some casts for the cases when lua_Number != double há 10 anos atrás
  Roberto Ierusalimschy 798660c9cd deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.) há 10 anos atrás
  Roberto Ierusalimschy 925d1b59f9 new function 'math.ult' (unsigned less than) há 11 anos atrás
  Roberto Ierusalimschy 8bb272a3e3 new conversion float->integer: conversion is valid only when há 11 anos atrás
  Roberto Ierusalimschy f14662fca6 detail (added placeholders for non-function fields to preallocate há 11 anos atrás
  Roberto Ierusalimschy b9dcf9974d detail (typos in comments) há 11 anos atrás
  Roberto Ierusalimschy a77d263e86 unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.) há 11 anos atrás
  Roberto Ierusalimschy e3871abe95 'math.ifloor' is back há 11 anos atrás
  Roberto Ierusalimschy 355037528c 'math.mof' works with integers, too há 11 anos atrás
  Roberto Ierusalimschy 456806f25c no more 'math.ifloor' + new semantics for 'math.floor'/'math.ceil' há 11 anos atrás
  Roberto Ierusalimschy 8b66040e34 several functions deprecated (cosh, sinh, atanh, pow, frexp, ldexp) há 11 anos atrás
  Roberto Ierusalimschy 6d5324f92f 'math.fmod' handles integers as integers há 11 anos atrás
  Roberto Ierusalimschy cbe4998bc2 'math.random(n,m)' interval restricted in size, to avoid using conversion há 11 anos atrás
  Roberto Ierusalimschy 5336cc9d6a math.random: use 'random' when available + changes to work correctly há 11 anos atrás
  Roberto Ierusalimschy fdd137276b more precision for PI + no more RADIANS_PER_DEGREE + há 11 anos atrás
  Roberto Ierusalimschy 8b45d9806a new constants 'math.maxint'/'math.minint' há 11 anos atrás
  Roberto Ierusalimschy 607be77ec8 some details to avoid warnings há 11 anos atrás
  Roberto Ierusalimschy 66b7b9b582 math.abs, math.max, and math.min work for integers, too. há 11 anos atrás
  Roberto Ierusalimschy 4244da96bf 'debug.subtype' -> 'math.type' (to distinguish integers and floats) há 12 anos atrás
  Roberto Ierusalimschy fcf99bf788 'math.isfloat' replaced by 'debug.subtype' há 12 anos atrás
  Roberto Ierusalimschy cbe164191c new function 'ifloor' há 12 anos atrás
  Roberto Ierusalimschy 15fdbd26fe 'numbits' moved from 'math' to 'debug' library há 12 anos atrás
  Roberto Ierusalimschy 80cdf39d0e avoid using 'modf' in the implementation of 'math.modf', to avoid há 12 anos atrás
  Roberto Ierusalimschy 788b251157 'math.random' operates with integers when used for integer results há 12 anos atrás
  Roberto Ierusalimschy 1414b7123c support for the case when 'l_mathop' does not conform to lua_Number há 12 anos atrás
  Roberto Ierusalimschy 0233ce0815 new function 'math.numbits' (not a final decision) há 12 anos atrás
  Roberto Ierusalimschy 29fe3abda2 new function 'math.isfloat' há 12 anos atrás
  Roberto Ierusalimschy 8830901a9c second parameter to 'ldexp' is an integer há 12 anos atrás
  Roberto Ierusalimschy 181a837cac small improvement in the support of 'float' as lua_Number há 12 anos atrás
  Roberto Ierusalimschy 3ac595da8a allow "long double" precision for PI constant if needed há 13 anos atrás