You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document of pow()for signed integers and for unsingned integers take 2^4 (^ is not xor but power) as examples.
Because 2^4 = 4^2, these examples are not very helpful for those unfamiliar with math words in English and thus rely on example codes.
We should take another example, e.g. 2^5 (which is not equal to 5^2).
Activity
Take 2^5 as examples in document of pow() (fixes rust-lang#48396)
Rollup merge of rust-lang#48397 - ordovicia:pow_doc, r=GuillaumeGomez