1 2 3 4 |
value = 0.0205862828046875 print("%.16f" % value) value = value.astype(np.float32) print("%.16f" % value) |
1 2 3 |
#output 0.0205862828046875 0.0205862820148468 |
Precision changed!
1 2 3 4 |
value = 0.0205862828046875 print("%.16f" % value) value = value.astype(np.float32) print("%.16f" % value) |
1 2 3 |
#output 0.0205862828046875 0.0205862820148468 |
Precision changed!
Look at an interesting benefit for your team. xiaoxumeng.com
http://bit.ly/2KxzME0