From what I've seen floats and doubles have different levels of precision based on what computer you run/compile it on. I've also seen numpy's dtype. An example might be
np.empty([4, 2], dtype='float32')
I know it uses C/C++ natives so how do you say in C++
Last edited on
I also meant things like float16. How does numpy achieve that? Also, I'm not concerned with Python but C.
Numpy is open source, is it not? Therefore, you can download and read the code.