add xs logb