| 173 | |
| 174 | |
| 175 | static inline int |
| 176 | HALF_LT(npy_half a, npy_half b) |
| 177 | { |
| 178 | int ret; |
| 179 | |
| 180 | if (_npy_half_isnan(b)) { |
| 181 | ret = !_npy_half_isnan(a); |
| 182 | } |
| 183 | else { |
| 184 | ret = !_npy_half_isnan(a) && _npy_half_lt_nonan(a, b); |
| 185 | } |
| 186 | |
| 187 | return ret; |
| 188 | } |
| 189 | |
| 190 | /* |
| 191 | * For inline functions SUN recommends not using a return in the then part |
no test coverage detected