[rust-dev] Simple question

2013-02-04 Thread Renato Lenzi
Hi there. How can i use power operator? that is: let x1 = 7; let x2 = 8; let mut x3; x3 = x1 ** x2; ? it seems this doesn't work thx. ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Simple question

2013-02-04 Thread Simon Sapin
Le 04/02/2013 15:29, Renato Lenzi a écrit : Hi there. How can i use power operator? that is: let x1 = 7; let x2 = 8; let mut x3; x3 = x1 ** x2; ? it seems this doesn't work Hi, AFAIK there is no operator for this, but libcore has a float::pow_with_uint function: