Hi Fabien,
Sorry for the confusion, I wasn't aware that SQL pow changed types depending on
the input value.
I've modified the function to match more closely the behaviour of SQL, except
that 0^(negative) returns 'double inf'. Do you think there is any value in
raising an error instead?