Use signed return type for phi_tiny(x, a)