On 11/15/2013 08:28 PM, Sieghard wrote:
> _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

  - neglect the size of the variable to store the result in
  - for constants use the smallest bit count it fits in
  - use signed if one operand is signed
  - 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, ...")

-Michael


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to