Re: [Discuss-gnuradio] Float value loses precision

2016-08-08 Thread Marcus Müller
Dear Ziang Gao, I wrote a rather lengthy answer to this question on usrp-users, yesterday [1]. Did that not reach you? To sum things up: > a float32 should have enough precision to handle my time value is, sadly, wrong: import time import numpy as np t = time.time() print t - numpy.float32(t) 4

[Discuss-gnuradio] Float value loses precision

2016-08-07 Thread zianggaowireless
Hello, I'm writing a block doing signal processing and then append the current time and output to a file sink, however, I found the output really strange because all time values are the same. Then I tried to write another block to test with my time value. Here is the block and qa file ###