Hallo Michael,

Du schriebst am Mon, 18 Nov 2013 12:30:09 +0100:

[min/max constants]
> > _What_ bit count should it use if you use it within an expression 
> > where operands of different
> I already did mention this.
> 
> The obvious definition is

Obvious to whom?

>   - neglect the size of the variable to store the result in

Even if it is larger than any of the other operands?

>   - for constants use the smallest bit count it fits in

What if larger bit size values appear in the calculation? Size extend
always at runtime?

>   - use signed if one operand is signed

And what if another one of the same or larger bit size is not?

>   - use the bit count of the operand with the greater bit count (here it 
> optionally might be added "rounded up to one of a native architecture's 
> word size, usually 8, 16, 32, 64, ...")

-- 
-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
-----------------------------------------------------------
Mit freundlichen Grüßen, S. Schicktanz
-----------------------------------------------------------



------------------------------------------------------------------------------
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

Reply via email to