On Tuesday 17 December 2013 09:30:52 Michael Schnell wrote: > On 12/16/2013 03:58 PM, Martin Schreiber wrote: > > unsigned:= card32(abs(signed)); > > This suggests that the result of "abs" is signed and need an explicit > conversion to unsigned. > Correct. There is no abs() for unsigned types.
> I'm not sure that this is beneficial. > > OTHO what is "abs" anyway ? > > Is it some kind of "builtin overloaded" function that works differently > for different argument types ? > Yes, as in Free Pascal: http://www.freepascal.org/docs-html/rtl/system/abs.html > What is the type of the result ? > The type of the input parameter. Martin ------------------------------------------------------------------------------ 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