Subject: | Incorrect results for some expressions |

#!/usr/bin/perl
use Math::Pari;
my $base = PARI "-8";
my $exp = PARI "1/3";
print $base**$exp;
__END__
The above code produces incorrect results. It should be giving back -2
(or some close approximation thereof), instead i'm getting
0.99999999999999999999999999999999999999+1.73205080756887729352744634150587236692376824824059149079*I
which however is mathematically related (take the square root of the
conjugate of that and you'll get the right answer). i'm still looking
into where this is happening it might be in the underlying PARI library
in which case this bug should be closed.