Skip to content

Float docs do not define the set of "arithmetic" operations #129699

Closed
@RalfJung

Description

@RalfJung
Member

Pointed out by @workingjubilee in #129683: the float docs are using the term "arithmetic" operations in a few places, but that term is never defined. Furthermore, the new NaN docs probably should use that term as well when discussing which operations the NaN rules apply to (instead of "non-bitwise floating point operations" which they use currently).

By "arithmetic operations", the docs likely mean all operations except for unary -, abs, copysign, signum, {to,from}_bits, {to,from}_{be,le,ne}_bytes and is_sign_{positive,negative}.

Activity

added
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
on Aug 28, 2024
added
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools
T-libsRelevant to the library team, which will review and decide on the PR/issue.
and removed
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
on Aug 29, 2024
added 2 commits that reference this issue on Aug 31, 2024

Rollup merge of rust-lang#129730 - RalfJung:float-arithmetic, r=worki…

0fa102c

Rollup merge of rust-lang#129730 - RalfJung:float-arithmetic, r=worki…

51e94f1
added 2 commits that reference this issue on Aug 31, 2024

Rollup merge of rust-lang#129730 - RalfJung:float-arithmetic, r=worki…

7cb42c9

Rollup merge of rust-lang#129730 - RalfJung:float-arithmetic, r=worki…

6ab726c
added a commit that references this issue on Aug 31, 2024
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 toolsT-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @RalfJung@saethlin@rustbot

      Issue actions

        Float docs do not define the set of "arithmetic" operations · Issue #129699 · rust-lang/rust