int->pow(float) gives same result as int->pow(floor(float)).
4->pow(2.9);
(2) Result: 16
I suggest pow(4, 2.9) for that. Your suggested syntax is a side effect of transparent integer to bignum conversion, and would be more similar to (int)Gmp.mpz(4)->pow( 2.9 ) behind the scenes, I think.