Add MulFloat

This commit is contained in:
Alexey Vanin 2023-11-27 14:40:31 +03:00
parent 25766195d9
commit 4aeabb2967

View file

@ -4,6 +4,11 @@ func Sum(a, b int) int {
return a + b
}
// Deprecate: use MulFloat
func Mul(a, b int) int {
return a * b
}
func MulFloat(a, b float64) float64 {
return a * b
}