Skip to content

printf: Should not parse "." as a valid numeric value #7684

@drinkcat

Description

@drinkcat

Found by @eduardorittner here #7670:

$ env printf "%f" "."
printf: ‘.’: expected a numeric value
0.000000
$ cargo run printf "%f" "."
0.000000

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions