diff options
author | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2014-11-16 20:47:38 +0000 |
---|---|---|
committer | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2014-11-16 20:47:38 +0000 |
commit | e4827c36fd5d9a718899819afbc78837c81198b9 (patch) | |
tree | acb5b37715efbd419ffa23f5d38e3f1b3834ddde /compiler/globtype.pas | |
parent | 6724e3993ae82d01905a9c3231ff9e85cc1b1ad5 (diff) | |
download | fpc-e4827c36fd5d9a718899819afbc78837c81198b9.tar.gz |
+ change always floating point divisions into multiplications if they are a power of two,
this is an exact operation so it is always allowed
* change only divisions by normal numbers into multiplications
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29085 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/globtype.pas')
-rw-r--r-- | compiler/globtype.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/globtype.pas b/compiler/globtype.pas index d1879f8cbb..b48a22f7b9 100644 --- a/compiler/globtype.pas +++ b/compiler/globtype.pas @@ -110,12 +110,12 @@ interface {$endif i8086} { Use a variant record to be sure that the array if aligned correctly } - tdoublerec=record + tcompdoublerec=record case byte of 0 : (bytes:array[0..7] of byte); 1 : (value:double); end; - textendedrec=record + tcompextendedrec=record case byte of 0 : (bytes:array[0..9] of byte); 1 : (value:extended); |