慕雪6442864
例如:package mainimport ( "fmt" "math")func main() { for f := 1.0; f < 10; f *= 1.1 { fmt.Printf("10^%15f == %18f\n", f, math.Pow(10, f)) }}输出10^ 1.000000 == 10.00000010^ 1.100000 == 12.58925410^ 1.210000 == 16.21810110^ 1.331000 == 21.42890610^ 1.464100 == 29.11387410^ 1.610510 == 40.78589510^ 1.771561 == 59.09639710^ 1.948717 == 88.86220810^ 2.143589 == 139.18383910^ 2.357948 == 228.00674310^ 2.593742 == 392.41216310^ 2.853117 == 713.04461810^ 3.138428 == 1375.39796310^ 3.452271 == 2833.16073610^ 3.797498 == 6273.33292110^ 4.177248 == 15040.01153810^ 4.594973 == 39352.55969310^ 5.054470 == 113362.72711610^ 5.559917 == 363008.93393210^ 6.115909 == 1305897.36280410^ 6.727500 == 5339492.11271910^ 7.400250 == 25133324.83245810^ 8.140275 == 138125842.07479010^ 8.954302 == 900124188.82765010^ 9.849733 == 7075101518.596476