abs64 - absolute value of a 64-bit int. Not all environments support "abs" on whatever their name for the 64-bit int type is. The absolute value of the largest negative number is undefined, as with "abs".
| 399 | /// "abs" on whatever their name for the 64-bit int type is. The absolute |
| 400 | /// value of the largest negative number is undefined, as with "abs". |
| 401 | static inline int64_t abs64(int64_t x) { |
| 402 | return (x < 0) ? -x : x; |
| 403 | } |
| 404 | |
| 405 | /// \brief Sign extend number in the bottom B bits of X to a 32-bit int. |
| 406 | /// Requires 0 < B <= 32. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…