mathops: move macro to the only place it is used