Skip to content

seq: fails to parse hexadecimal floating-point arguments like 0x1p-1 #6935

@karanabe

Description

@karanabe

While running bash util/run-gnu-test.sh, I encountered a bug where seq fails to handle hexadecimal arguments correctly. Specifically, the following command does not behave as expected:

$ cargo run -q seq 0x1p-1 2
seq: invalid hexadecimal argument: '0x1p-1'
$ seq 0x1p-1 2
0.5
1.5

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