Damus
note15nfv7...
Marcus Müller profile picture
@nprofile1q... yeah, never keep time in floating point; it's typically not a thing where that makes a lot of sense (this was learned by SDR software *several* times). Your timestamps should just be int64 multiples of some pre-defined time quantum, and you'll be fine. You don't need sub-attosecond accuracy, and neither do you need to be able to measure in millions of years; the fixed 64 bit range suffices.
1
Andrew Zonenberg · 5w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqtmm95lu8a64aqyrcx8ka4wefzaj3hv7kr38hc4p7a7a5xdftak4sq4lqye that's what I'm doing, but in this case I was interpolating sub sample level crossings for measuring rise time of a signal and using float temporaries since the interpolation code worked...