Source code for addmultiply.addmultiply

# -*- coding: utf-8 -*-
[docs]def addmultiply(a: float, b: float, c: float) -> float: """Calculate (a + b * b) * c :param a: first number :param b: second number :return: result of the calculation """ return (a + b * b) * c