Skip to content

Document of pow() can be more helpful #48396

Description

@ordovicia

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: 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.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions