On 02/22/14 13:02, Claudio Valderrama C. wrote: >>> 3.- This supposedly dangerous definition >>> const ULONG END_BUCKET = (~0) << 1; is interesting, would >>> const ULONG END_BUCKET = (~0) ^ 1; >>> do the trick? >> What's wrong with "(~0u) << 1" that they suggest instead? > I don't think it's wrong, I'm asking what's better. > ;-) >
~1u is the simplest (on my mind) to get 0xFF...FE ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
