On 11/18/2013 11:03 PM, Sieghard wrote: > Even if it is larger than any of the other operands?
Yep. That is how it usually is done. Extend or sign-extend after the operation if the target is larger, truncate if it is smaller. > Size extend always at runtime? Yep (If necessary): Adding leading sign bits for signed types and adding leading Zeros with unsigned types. >> - use signed if one operand is signed > And what if another one of the same or larger bit size is not? First extend either to appropriate bit count and then take care of different signedness of the two. -Michael ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

