I get different results when using relational operators to compare ifsome number is less than 0.01Check this out:q)(abs(33.01-33f))0.01q)0.01<0.010bq)x:(abs(33.01-33f))q)show x0.01q)x<0.011bWhat am I missing here? This seems broken. I’ve run this on the freekdb+ 32-bit 2.6 2010.01.05 as well as the linux 64-bit 2.52009.08.26. Same result.Anyone have any ideas?
if you switch up the precision on printing you’ll see why
q)\P 0
q)(abs(33.01-33f))
0.0099999999999980105