14 lines
180 B
Go
14 lines
180 B
Go
package math
|
|
|
|
func Sum(a, b int) int {
|
|
return a + b
|
|
}
|
|
|
|
// Deprecated: use MulFloat
|
|
func Mul(a, b int) int {
|
|
return a * b
|
|
}
|
|
|
|
func MulFloat(a, b float64) float64 {
|
|
return a * b
|
|
}
|