Commit Verlauf

Autor SHA1 Nachricht Datum
  Roberto Ierusalimschy be63d995c1 tiny bug: 'randomseed' was calling 'rand' (instead of 'l_rand') vor 10 Jahren
  Roberto Ierusalimschy 7d930ec694 use 'log2' when available vor 10 Jahren
  Roberto Ierusalimschy 1a7868c1d5 bug: 'random' limit is 2^31-1, not RAND_MAX vor 10 Jahren
  Roberto Ierusalimschy 17ca3b1763 cleaner test for overflow for range of 'math.random' vor 10 Jahren
  Roberto Ierusalimschy 28fdbcf393 added include for 'lprefix.h', for stuff that must be added before vor 10 Jahren
  Roberto Ierusalimschy 463edee2fd 'lua_numtointeger' -> 'lua_numbertointeger' vor 10 Jahren
  Roberto Ierusalimschy 65ec3379b1 added some casts for the cases when lua_Number != double vor 10 Jahren
  Roberto Ierusalimschy 798660c9cd deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.) vor 11 Jahren
  Roberto Ierusalimschy 925d1b59f9 new function 'math.ult' (unsigned less than) vor 11 Jahren
  Roberto Ierusalimschy 8bb272a3e3 new conversion float->integer: conversion is valid only when vor 11 Jahren
  Roberto Ierusalimschy f14662fca6 detail (added placeholders for non-function fields to preallocate vor 11 Jahren
  Roberto Ierusalimschy b9dcf9974d detail (typos in comments) vor 11 Jahren
  Roberto Ierusalimschy a77d263e86 unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.) vor 11 Jahren
  Roberto Ierusalimschy e3871abe95 'math.ifloor' is back vor 11 Jahren
  Roberto Ierusalimschy 355037528c 'math.mof' works with integers, too vor 11 Jahren
  Roberto Ierusalimschy 456806f25c no more 'math.ifloor' + new semantics for 'math.floor'/'math.ceil' vor 11 Jahren
  Roberto Ierusalimschy 8b66040e34 several functions deprecated (cosh, sinh, atanh, pow, frexp, ldexp) vor 11 Jahren
  Roberto Ierusalimschy 6d5324f92f 'math.fmod' handles integers as integers vor 11 Jahren
  Roberto Ierusalimschy cbe4998bc2 'math.random(n,m)' interval restricted in size, to avoid using conversion vor 11 Jahren
  Roberto Ierusalimschy 5336cc9d6a math.random: use 'random' when available + changes to work correctly vor 11 Jahren
  Roberto Ierusalimschy fdd137276b more precision for PI + no more RADIANS_PER_DEGREE + vor 11 Jahren
  Roberto Ierusalimschy 8b45d9806a new constants 'math.maxint'/'math.minint' vor 11 Jahren
  Roberto Ierusalimschy 607be77ec8 some details to avoid warnings vor 11 Jahren
  Roberto Ierusalimschy 66b7b9b582 math.abs, math.max, and math.min work for integers, too. vor 11 Jahren
  Roberto Ierusalimschy 4244da96bf 'debug.subtype' -> 'math.type' (to distinguish integers and floats) vor 12 Jahren
  Roberto Ierusalimschy fcf99bf788 'math.isfloat' replaced by 'debug.subtype' vor 12 Jahren
  Roberto Ierusalimschy cbe164191c new function 'ifloor' vor 12 Jahren
  Roberto Ierusalimschy 15fdbd26fe 'numbits' moved from 'math' to 'debug' library vor 12 Jahren
  Roberto Ierusalimschy 80cdf39d0e avoid using 'modf' in the implementation of 'math.modf', to avoid vor 12 Jahren
  Roberto Ierusalimschy 788b251157 'math.random' operates with integers when used for integer results vor 12 Jahren