```{index} single: broot; Math::GMP function ``` ```{index} single: Math::GMP::broot; Perl function ``` # broot Return the integer `$n`-th root of `$x`, truncated toward zero. ## Synopsis ```perl my $x = Math::GMP->new(100); print $x->broot(3); # 4, since 4**3 = 64 and 5**3 = 125 ``` `$n` must be a positive integer. For odd `$n` negative values of `$x` are fine; for even `$n` they croak inside `libgmp`.