I am using numpy.logspace(-4,1,6) to create [0.0001, 0.001, 0.01, 0.1, 1, 10].
I noticed the numbers generated with numpy.logspace have numeric errors.
print('{:.24f}'.format(np.logspace(-4, 1, 6)[3]))
prints "0.100000000000000005551115" versus "0.1" i expected.
Anyways to eliminate numpy.logspace numeric errors for integer powers of 10 (i.e., 10^n, where n is integer)?
Thanks.