mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-06 00:30:34 +02:00
two cases of use casts instead of anding with when extracting 16bit values
git-svn-id: trunk@28615 -
This commit is contained in:
parent
05e72f52c6
commit
8d98f31afc
@ -1323,9 +1323,9 @@ Var
|
||||
aHigh, aLow, bHigh, bLow: bits16;
|
||||
z0, zMiddleA, zMiddleB, z1: bits32;
|
||||
Begin
|
||||
aLow := a and $ffff;
|
||||
aLow := bits16(a);
|
||||
aHigh := a shr 16;
|
||||
bLow := b and $ffff;
|
||||
bLow := bits16(b);
|
||||
bHigh := b shr 16;
|
||||
z1 := ( bits32( aLow) ) * bLow;
|
||||
zMiddleA := ( bits32 (aLow) ) * bHigh;
|
||||
|
Loading…
Reference in New Issue
Block a user