File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -113,13 +113,13 @@ This type has the following characteristics:
1131132 and 4-bit integer types, where each element is represented unpacked (i.e.,
114114padded up to a byte in memory).
115115
116- NumPy does not support types smaller than a single byte. For example, the
117- distance between adjacent elements in an array (` .strides ` ) is expressed in
118- bytes. Relaxing this restriction would be a considerable engineering project.
119- These types therefore use an unpacked representation, where
120- each element of the array is padded up to a byte in memory. The lower four bits
121- of each byte contain the representation of the number, whereas the upper four
122- bits are ignored.
116+ NumPy does not support types smaller than a single byte: for example, the
117+ distance between adjacent elements in an array (` .strides ` ) is expressed as
118+ an integer number of bytes. Relaxing this restriction would be a considerable
119+ engineering project. These types therefore use an unpacked representation, where
120+ each element of the array is padded up to a byte in memory. The lower two or four
121+ bits of each byte contain the representation of the number, whereas the remaining
122+ upper bits are ignored.
123123
124124## Quirks of low-precision Arithmetic
125125
You can’t perform that action at this time.
0 commit comments