Std logic arith