Skip to content

Document of pow() can be more helpful #48396

Closed

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

  1. added a commit that references this issue on Feb 21, 2018
    7e51e7d
  2. added
    C-enhancementCategory: An issue proposing an enhancement or a PR with one.
    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools
    on Feb 21, 2018
  3. added a commit that references this issue on Feb 21, 2018
    24c17cb
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