On Mon, 11 Oct 2021, Devon McCormick wrote:

Shouldn't a floating-point array take up more space than an integer array of the same shape?

Except for booleans, integers are the size of a native machine word, which is usually 8 bytes. Floating-point numbers are double-precision, and hence also 8 bytes.

 -E
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to