renamed division parameter names to a and b, making the api more symetric