On 02/28/2014 03:21 PM, Dimitry Sibiryakov wrote: > 28.02.2014 8:39, Alex wrote: >> Please try this patch - if it helps please commit it > It works at first glance, but I'm afraid of possible integer overflow. > Wouldn't be > better to use floating-point operations and then cast to integer before > return?.. >
May be better use INT64? It should be big enough here. ------------------------------------------------------------------------------ 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