go package demo: math

This commit is contained in:
xushiwei
2024-06-15 15:58:22 +08:00
parent 5011c394d7
commit b668175c62
2 changed files with 12 additions and 0 deletions

11
_demo/math/math.go Normal file
View File

@@ -0,0 +1,11 @@
package main
import (
"math"
)
func main() {
println(math.Sqrt(2))
println(math.Abs(-1.2))
println(math.Ldexp(1.2, 3))
}