Skip to content

seq: errors on infinitesimal scientific notation argument #7098

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

Closed
jfinkels opened this issue Jan 8, 2025 · 1 comment
Closed

seq: errors on infinitesimal scientific notation argument #7098

jfinkels opened this issue Jan 8, 2025 · 1 comment
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.

@jfinkels
Copy link
Collaborator Author

jfinkels commented Feb 2, 2025

This was fixed in #7145

@jfinkels jfinkels closed this as completed Feb 2, 2025
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