gnuradio/gnuradio — pull request #150 by courtarro (2014-02-22 02:45:02+00:00)
Title: Fixes tag propagation errors due to double-to-int rounding

For small rrate values (e.g. 1/10000) the inaccuracies of floating point math can lead to off-by-one errors for tag propagation. Adding 0.5 is akin to rounding to the nearest sample value, which should lead to more accurate tag placement.