diff options
author | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2008-11-15 15:23:08 +0000 |
---|---|---|
committer | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2008-11-15 15:23:08 +0000 |
commit | a7ec5396b1ea7130cfb7fca746ef9d5da362e610 (patch) | |
tree | f329462a8bbeb2a44af4ea2e169ddb9132fcc1ef | |
parent | 67b0e619be86e324fb117824672af814df3021d3 (diff) | |
download | fpc-a7ec5396b1ea7130cfb7fca746ef9d5da362e610.tar.gz |
- undid merge of r11461: it adds extra inline specifiers, which is
a) not a fix in any way
b) a very bad idea for the fixes branch given that there are still
still bugs in the inlining functionality (e.g. mantis #12576)
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/fixes_2_2@12105 3ad0048d-3df7-0310-abae-a5850022a9f2
-rw-r--r-- | rtl/objpas/math.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rtl/objpas/math.pp b/rtl/objpas/math.pp index d77efcacd3..7b6f801d1a 100644 --- a/rtl/objpas/math.pp +++ b/rtl/objpas/math.pp @@ -313,8 +313,8 @@ function power(base,exponent : float) : float; { base^exponent } function intpower(base : float;const exponent : Integer) : float; -operator ** (bas,expo : float) e: float; inline; -operator ** (bas,expo : int64) i: int64; inline; +operator ** (bas,expo : float) e: float; +operator ** (bas,expo : int64) i: int64; { number converting } @@ -908,13 +908,13 @@ function intpower(base : float;const exponent : Integer) : float; end; -operator ** (bas,expo : float) e: float; inline; +operator ** (bas,expo : float) e: float; begin e:=power(bas,expo); end; -operator ** (bas,expo : int64) i: int64; inline; +operator ** (bas,expo : int64) i: int64; begin i:=round(intpower(bas,expo)); end; |