On 12/16/2013 02:29 PM, Ivanko B wrote: > unsigned := signed ? > > Here, user know what he/she wants to get No he does not. > (absolute value of the "signed"). > Even you don't :-) .
If you do unsigned := signed; you get the correct positive value if positive. But if it is negative you'll get maxunsigned + value + 1, as any language I know just preserves the bits in the word. -Michael ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk