Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/Zero-to-the-zero-power/Go/zero-to-the-zero-power.go
Normal file
15
Task/Zero-to-the-zero-power/Go/zero-to-the-zero-power.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"math"
|
||||
"math/big"
|
||||
"math/cmplx"
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Println("float64: ", math.Pow(0, 0))
|
||||
var b big.Int
|
||||
fmt.Println("big integer:", b.Exp(&b, &b, nil))
|
||||
fmt.Println("complex: ", cmplx.Pow(0, 0))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue