Commit Graph

39 Commits

Author SHA1 Message Date
Jonas Maebe
4c3fb9ae00 * frexp has out instead of var parameter
git-svn-id: trunk@2040 -
2005-12-23 22:03:21 +00:00
florian
b1bd426009 + fpower10 implemented
git-svn-id: trunk@1099 -
2005-09-17 18:56:32 +00:00
michael
3a2eaa94b1 + Removed INTERNCONSTINTF define
git-svn-id: trunk@267 -
2005-06-07 22:04:18 +00:00
michael
93ba0409be + Removed HASCOMPILERPROC define
git-svn-id: trunk@265 -
2005-06-07 21:41:02 +00:00
peter
4ace790492 * remove $Log
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
michael
ffb55c4254 + Removed VER1_0 defines
git-svn-id: trunk@33 -
2005-05-19 21:14:45 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
florian
f093fa9242 - killed power from system unit
* move operator ** to math unit
2005-02-08 20:25:28 +00:00
Jonas Maebe
08da4e9278 * fixed power() in genmath.inc (code duplication from math.pp for **
support!)
  * fixed power() in math.pp to give an error from 0^0
2004-12-05 16:43:57 +00:00
peter
4d8460ec2f * float routines all use internproc and compilerproc helpers 2004-11-21 15:35:23 +00:00
Jonas Maebe
cfeaa8aa65 * some compilation fixes for powerpc after all the internconst and
internproc changes, still crashes with internalerror(88) for ppc1
    on real2str.inc(193,39)
2004-11-20 15:49:21 +00:00
Jonas Maebe
0f26252376 + cgenmath with libc math functions. Faster than the routines in genmath
and also have full double support (exp() only has support for values in
    the single range in genmath, for example). Used in FPC_USE_LIBC is
    defined
  * several fixes to allow compilation with -dHASINLINE, but internalerrors
    because of missing support for inlining assembler code
2004-10-09 21:00:46 +00:00
florian
12bf88080f * fixed trunc for abs(value) < 1 2004-10-03 14:09:39 +00:00
florian
7e328ccf29 + made generic trunc 64 bit aware 2004-10-03 14:00:21 +00:00
peter
3094258825 * removed warnings 2004-05-31 20:25:04 +00:00
florian
5fe2004441 * fixed some arm related real stuff 2004-03-13 18:33:52 +00:00
florian
2e80f0de5f * arm startup code fixed
* made some generic math code more readable
2004-03-11 22:39:53 +00:00
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