File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -118,8 +118,8 @@ npyv_isinf_@sfx@(npyv_@sfx@ v)
118
118
#else
119
119
// fabs via masking of sign bit
120
120
const npyv_@sfx@ signmask = npyv_setall_@sfx@(-0.@fd@);
121
- npyv_@sfx@ r = npyv_reinterpret_ @sfx@_u8(npyv_andc_u8(v, signmask));
122
- r = npyv_cmpgt_@sfx@(r , fltmax);
121
+ npyv_u8 r_u8 = npyv_andc_u8(npyv_reinterpret_u8_ @sfx@(v), npyv_reinterpret_u8_@sfx@( signmask));
122
+ npyv_u@ssfx@ r = npyv_cmpgt_@sfx@(npyv_reinterpret_@sfx@_u8(r_u8) , fltmax);
123
123
#endif
124
124
return npyv_shri_u@ssfx@(r, (sizeof(npyv_lanetype_@sfx@)*8)-1);
125
125
}
@@ -134,8 +134,8 @@ npyv_isfinite_@sfx@(npyv_@sfx@ v)
134
134
#else
135
135
// fabs via masking of sign bit
136
136
const npyv_@sfx@ signmask = npyv_setall_@sfx@(-0.@fd@);
137
- npyv_@sfx@ r = npyv_reinterpret_ @sfx@_u8(npyv_andc_u8(v, signmask));
138
- r = npyv_cmple_@sfx@(r , fltmax);
137
+ npyv_u8 r_u8 = npyv_andc_u8(npyv_reinterpret_u8_ @sfx@(v), npyv_reinterpret_u8_@sfx@( signmask));
138
+ npyv_u@ssfx@ r = npyv_cmple_@sfx@(npyv_reinterpret_@sfx@_u8(r_u8) , fltmax);
139
139
#endif
140
140
return npyv_shri_u@ssfx@(r, (sizeof(npyv_lanetype_@sfx@)*8)-1);
141
141
}
You can’t perform that action at this time.
0 commit comments