Commit History

Author SHA1 Message Date
  florian 2932787dee * use SizeInt for counters in math unit, all non-32 bit targets should benefit from this 4 years ago
  florian 4c1978c131 * reported by Bart on the mailing list: insert empty line to make clear to which function the comment applies 4 years ago
  michael a49c469a5d * Fix defines for fpdoc 4 years ago
  florian cd35cdad25 * fix Min/MaxSingle/Double values, resolves #36870 5 years ago
  florian b8f186dab2 * reverted r43366 5 years ago
  florian 5ead23513d * more overloads for Math.Min/Max, resolves #36161 5 years ago
  michael 863ede7dc6 * Add QWord version of Max (Delphi compatibility, bug ID #34364) 6 years ago
  michael ab159c638c * Move consts to stdconv 6 years ago
  michael 407753ea10 * Add constants for powers of 10 and 2. use integer/int64 where possible 6 years ago
  florian a825a66d01 * IntPower inverts the base first for negative exponents and multiplies then, resolves #34124 7 years ago
  svenbarth 8a195c44ba + add overloads of IsInfinite() for Single and Extended (compatible with Delphi) 7 years ago
  michael e46b89c8bb * Patch from Ondrej Pokorny to fix camelcase (bug ID 4b46872) 7 years ago
  michael 16ba47be46 * Patch from Ondrej Pokorny to convert unit names to CamelCase (bug ID 33481) 7 years ago
  florian 8a2cf56d51 * fixed operator mod for floats as proposed by wp in #33167, resolves #33167 7 years ago
  michael fb7d2d9ebd * Patch from Anton Shepelev to fix variance and standard deviation calculation (bug ID 32804) 7 years ago
  marco a5487d327f * intmean, patch by Bart. Bug #32661 7 years ago
  michael bb79ab787e * Fix FULLVERSION check for randomfrom 8 years ago
  michael 162b938409 * Patch from Thaddy De Koning to add generic RandomFrom 8 years ago
  nickysn 958d74e41c - removed the "else" in math.EnsureRange, because this way the compiler 8 years ago
  florian 69f41a776e * jump-free Ceil*/Floor* implementations 8 years ago
  michael c3e50a36cc * Move fpdoc block after uses clause 8 years ago
  Károly Balogh 6dff85df58 math: replace trunc() with int() in some functions working with floats to avoid some unnecessary int64->double conversions, as trunc returns an integer, which then has to be converted back to float 8 years ago
  Károly Balogh 5c87e870fd tabs to spaces fix, no functional changes 8 years ago
  michael 18f2592433 * float version of modulo (Patch from Thaddy De koning, bug ID #30744) 8 years ago
  michael 364abc3c07 * Author retracted erf/erfc functions due to copyright issues 9 years ago
  michael 3da0f82995 * Add error functions erf/erfc, bug ID #29740 9 years ago
  sergei 161f812113 * Explicitly typecast (-longint) to longint, otherwise it becomes an int64 on 64-bit targets, causing wrong result of sign(longint). Mantis #29649. 9 years ago
  sergei 9b84581f4c + function copysign(x,y), calculates abs(x)*sign(y), private for unit math (not in interface). 9 years ago
  sergei a4ed9f3b54 * Improved sign(x) functions to be branchless in most cases. Resolves #14206. 9 years ago
  michael 88957c62e3 * Add Ceil64 and Floor64, patch from Bart Broersma (bug ID 28370) 9 years ago