Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seq: errors on infinitesimal scientific notation argument #7098

Open
jfinkels opened this issue Jan 8, 2025 · 0 comments
Open

seq: errors on infinitesimal scientific notation argument #7098

jfinkels opened this issue Jan 8, 2025 · 0 comments
Labels

Comments

@jfinkels
Copy link
Collaborator

jfinkels commented Jan 8, 2025

Steps to reproduce:

$ seq 1e-9223372036854775808

(9223372036854775808 is 2^64)

What happens now: uutils seq terminates with an error message:

./target/debug/seq: invalid floating point argument: '1e-9223372036854775808'
Try './target/debug/seq --help' for more information.

What I expected to happen: GNU seq terminates successfully with no output (because the argument is less than 1).

Notes: this is causing a failure in GNU test file tests/seq/seq-precision.sh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant