Fixed division macro for x==0