Skip to content

P3899 Reword "infinity() + 1 may have undefined behavior" #150

@eisenwave

Description

@eisenwave

It's a bit confusing what the "may" is conditioned on.

A BSI suggestion was

If we subscribe to the interpretation that infinity is not in the range of representable values then infinity() + 1 has undefined behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-workSome work is required

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions