Will produce "1.259921049 0"
The first is correct, the second is clearly not. This seems to occur for any foo^(n/m) combination where n/m is not an integer as a whole.
Edit: It shouldn't do anything for when m is even, obviously. Since that does involve i (sqrt(-1)). Unless you want to return an array, but I don't really know when that would be usefull.