| 53 | |
| 54 | template<class IntType> |
| 55 | forceinline IntType |
| 56 | ceil_div_px(IntType x, IntType y) { |
| 57 | assert(x >= 0); |
| 58 | return (y >= 0) ? ceil_div_pp(x,y) : -floor_div_pp(x,-y); |
| 59 | } |
| 60 | template<class IntType> |
| 61 | forceinline IntType |
| 62 | floor_div_px(IntType x, IntType y) { |
no test coverage detected