-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Closed
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.
Description
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).
Eh2406 and scottmcm
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.