Skip to content

spec: Do exact floating-point constants differentiate between -0.0 and 0.0? #12576

@griesemer

Description

@griesemer

The spec does not seem to be clear.

The test test/fixedbugs/bug434.go says that -0.0 and 0.0 are the same.

Clarify.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions