Commit Graph

20 Commits

Author SHA1 Message Date
florian
9e6f48750a * fixed generic system.int(...) 2004-02-04 14:15:57 +00:00
florian
9e00ecb080 * fixed small bugs
* fixed some arm issues
2004-01-24 18:15:58 +00:00
florian
1d3368ccde * some const inserted 2004-01-24 01:32:00 +00:00
peter
bf56f75425 * abs(double) added
* abs() alias
2004-01-06 21:34:07 +00:00
Jonas Maebe
2af569745c * if currency = int64, FPC_CURRENCY_IS_INT64 is defined
+ round and trunc for currency and comp if FPC_CURRENCY_IS_INT64 is
    defined
  * if currency = orddef, prefer currency -> int64/qword conversion over
    currency -> float conversions
  * optimized currency/currency if currency = orddef
  * TODO: write FPC_DIV_CURRENCY and FPC_MUL_CURRENCY routines to prevent
      precision loss if currency=int64 and bestreal = double
2004-01-02 17:19:04 +00:00
Jonas Maebe
40a6ce22ff * use HandleError instead of RunError so exception catching works 2003-12-08 19:44:11 +00:00
florian
8d771df2d4 * arm fixes to the common rtl code
* some generic math code fixed
  * ...
2003-09-03 14:09:37 +00:00
Jonas Maebe
df5e0bbfc6 * fsqrt is an optional instruction in the ppc architecture and isn't
implemented by any current ppc afaik, so use the generic sqrt routine
    instead (adapted so it works with compilerproc)
2003-05-24 13:39:32 +00:00
Jonas Maebe
a399f7898c * added longint typecase to odd(smallint_var) call to avoid overload
problem
2003-05-23 22:58:31 +00:00
Jonas Maebe
c59fb8e28a - removed empty ppc-specific frac()
+ added correct generic frac() implementation for doubles (translated
    from glibc code)
2003-05-02 15:12:19 +00:00
peter
a7691d8bb8 * fpc_round added, needed for int64 currency 2003-04-23 21:28:21 +00:00
peter
dd08014a49 * use generic int64 power 2003-01-15 00:45:17 +00:00
carl
c3d641ec0e * round returns int64 2002-10-12 20:28:49 +00:00
florian
84f4935593 * fixed wrong commit 2002-10-07 15:15:02 +00:00
florian
45091120fd + variant wrappers for cmp operators added 2002-10-07 15:10:45 +00:00
peter
01dfac4a4e * old logs removed and tabs fixed 2002-09-07 15:06:34 +00:00
florian
6d4e01d74f * made abs a compiler proc if it is generic 2002-07-28 21:39:28 +00:00
florian
7ac5c3743d * several fixes for linux/powerpc
* several fixes to MT
2002-07-28 20:43:47 +00:00
peter
21a8c2cc8e * merged fixes from 1.0.x 2001-12-26 21:03:56 +00:00
peter
e7c86006db * m68k updates merged 2001-07-30 21:38:54 +00:00