Skip to content

Commit

Permalink
Merge pull request #25118 from charris/backport-25051
Browse files Browse the repository at this point in the history
MAINT: Make bitfield integers unsigned
  • Loading branch information
charris committed Nov 11, 2023
2 parents 249b5be + 2359aec commit 9887c9c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions numpy/core/src/_simd/_simd_inc.h.src
Original file line number Diff line number Diff line change
Expand Up @@ -105,19 +105,19 @@ typedef struct
// type name compatible with python style
const char *pyname;
// returns '1' if the type represent a unsigned integer
int is_unsigned:1;
unsigned int is_unsigned:1;
// returns '1' if the type represent a signed integer
int is_signed:1;
unsigned int is_signed:1;
// returns '1' if the type represent a single or double precision
int is_float:1;
unsigned int is_float:1;
// returns '1' if the type represent a boolean
int is_bool:1;
unsigned int is_bool:1;
// returns '1' if the type represent a sequence
int is_sequence:1;
unsigned int is_sequence:1;
// returns '1' if the type represent a scalar
int is_scalar:1;
unsigned int is_scalar:1;
// returns '1' if the type represent a vector
int is_vector:1;
unsigned int is_vector:1;
// returns the len of multi-vector if the type represent x2 or x3 vector
// otherwise returns 0, e.g. returns 2 if data type is simd_data_vu8x2
int is_vectorx;
Expand Down

0 comments on commit 9887c9c

Please sign in to comment.