You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package calc
|
|
|
|
func Add(a, b float64) float64 {
|
|
return a + b
|
|
}
|
|
|
|
func Sub(a, b float64) float64 {
|
|
return a - b
|
|
}
|
|
|
|
func Mult(a, b float64) float64 {
|
|
return a * b
|
|
}
|
|
|
|
func Divi(a, b float64) float64 {
|
|
return a / b
|
|
}
|