> For the complete documentation index, see [llms.txt](https://trizen.gitbook.io/sidef-lang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trizen.gitbook.io/sidef-lang/programming_tasks/z/zero_to_the_zero_power.md).

# Zero to the zero power

```ruby
[0, Complex(0, 0)].each {|n|
    say n**n
}
```

#### Output:

```
1
1
```

Taking the 0'th root of a number and raising it back to the zero power, we also get a 1:

```ruby
say 0.root(0).pow(0)       # => 1
say ((0**(1/0))**0)        # => 1
```
