菜鸟求救,恳求各位同道帮助

pyson中的numpy下的finfo方法的功能是什么?以及应用的场景是什么?谢谢

获取机器的浮点数据的上下限

for dtype in [np.float32, np.float64]:

... print np.finfo(dtype).min

... print np.finfo(dtype).max

... print np.finfo(dtype).eps

https://docs.scipy.org/doc/numpy/reference/generated/numpy.finfo.html