Added r_negate, removed unused detail/math.h