Hi,
A basic question: how to check if the variable t1 is wheter a 32 bits integer or 64 one? Natively I've been thinking its a 32 bits but I've not so sure.
Thanks
A basic question: how to check if the variable t1 is wheter a 32 bits integer or 64 one? Natively I've been thinking its a 32 bits but I've not so sure.
Thanks
import numpy as np
t = 2.0
t1 = int(t)
print(f"t1 = {type(t1)}")
t2 = np.int32(t)
print(f"t2 = {type(t2)}")
t3 = np.int64(t)
print(f"t3 = {type(t3)}")
