Commit Verlauf

Autor SHA1 Nachricht Datum
  sergei 57c762c8d2 + Inserted license header for AMath routines. vor 11 Jahren
  sergei bd58adfcc9 + Added credits for functions reused from AMath/DAMath libraries. vor 11 Jahren
  michael d45ced0221 * Added DegNormalize vor 11 Jahren
  sergei 94a045aa3d * Moved declarations of TFPURoundingMode,TFPUExceptionMask and TFPUPrecisionMode to System unit. Declarations in Math unit changed to aliases. vor 11 Jahren
  sergei 0255eb880e - Removed mathuh.inc files which are identical for all targets (except m68k, see below), their contents moved into math.pp. vor 11 Jahren
  nickysn 19a39cde4a * 16-bit objpas.integer type fixes in Math.DivMod vor 11 Jahren
  nickysn 4eb9043ac7 * x87 optimized version of math.log2() for i8086, i386 and x86_64 vor 11 Jahren
  nickysn 90b69184f1 * use a {$if defined()} sequence, instead of nested ifdefs for selecting the vor 11 Jahren
  sergei 141b2f7066 * arcsin and arccos: improve accuracy at small arguments by replacing sqr(1-x*x) with sqr((1-x)*(1+x)). vor 11 Jahren
  sergei 636736dda6 * log2() and log10(): replaced division by ln(base) with multiplication by reciprocal constant, this executes faster and somehow provides slightly better accuracy. vor 11 Jahren
  sergei c7213b7ff1 - Math unit: don't raise EInvalidArgument exception in general math functions, this is Delphi-compatible. Delphi raises EInvalidArgument only in statistical/financial functions; general math functions execute code which causes EInvalidOp raised by hardware (or low-level system routines). vor 11 Jahren
  sergei 5206584805 * lnxp1 function fixed to be accurate near zero argument values, using code from AMath library by Wolfgang Ehrhardt. vor 11 Jahren
  sergei 437b3755d1 * math.hypot(): factor larger argument out of expression in order to avoid loss of precision. vor 11 Jahren
  sergei d981861433 * IsNan(single): can be written much simpler, because representation of single casted to longint is the same on big-endian and little-endian targets. vor 12 Jahren
  florian 1da4c0c3ce * SinCos overloads added, resolves #22663 vor 13 Jahren
  florian 2677187b2f * inline several math methods (though a lot won't be inlined yet because they take open array parameters), resolves #21040 vor 13 Jahren
  marco ae1ece93e5 * fix for #21199, changing epsilon to 0.0 instead of 0 helps overload selection of the vor 13 Jahren
  florian d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 vor 14 Jahren
  Jonas Maebe 0a88009059 * comment and formatting fixes by Christian Budde (mantis #19919) vor 14 Jahren
  florian 37b8b791d5 * overloaded versions of IsNan, resolves #14351 vor 14 Jahren
  Jonas Maebe 60f8b7fcb1 + int64 version of randomrange() (mantis #16108) vor 15 Jahren
  florian 0c153a46df * math.power/intpower(0,0) return 1, this is as recommended in IEEE 754 vor 15 Jahren
  florian 31e2f16484 resolves #15453: vor 15 Jahren
  florian a14db25c64 + procedure DivMod(Dividend: Integer; Divisor: integer; var Result, Remainder: integer); and procedure DivMod(Dividend: cardinal; Divisor: cardinal; var Result, Remainder: cardinal);, resolves #14286 vor 16 Jahren
  marco 2c82c6a747 * several functions are now marked with overload; vor 16 Jahren
  florian 855a65a061 + RandomRange vor 16 Jahren
  Jonas Maebe 1c2d2ae481 * fixed SimpleRoundTo() function (mantis #10159) vor 16 Jahren
  marco f0c236b992 * Made overloading situation ifthen more Delphi compatible. Mantis #12662 vor 16 Jahren
  Almindor 3588a9d02c * inline the ** operators since they just call functions directly vor 17 Jahren
  michael c98d7325f6 * GOTO ON in source. vor 17 Jahren