Difference between Python float and numpy float32

前端 未结 1 1548
隐瞒了意图╮
隐瞒了意图╮ 2020-12-01 05:56

What is the difference between the built in float and numpy.float32?

Example

a = 58682.7578125
print type(         


        
相关标签:
1条回答
  • 2020-12-01 06:50

    Python's standard float type is a C double: http://docs.python.org/2/library/stdtypes.html#typesnumeric

    NumPy's standard numpy.float is the same, and is also the same as numpy.float64.

    0 讨论(0)
提交回复
热议问题