Skip to content

Case of the interpolation of non-finite float #340

Description

@lgalfaso

What should be the output of '%E' % float("+inf")?

Python outputs 'INF'.

Bazel outputs '+inf'.

There are two points to solve:

  • Should there be a '+' prefix?
  • Should it be capitalised?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions