-
Notifications
You must be signed in to change notification settings - Fork 18
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
Discussion: should we include zero? #18
Comments
This is a very important question, and I'm not sure I can see an easy answer. I'd like to open this up to further discussion before proceeding. |
This would require a test update. |
That is an excellent point @deplicator! |
To get a feel for the mood out there on this issue, I have posted this poll on the fediverse: https://phpc.social/@andrewfeeney/109938989159254475 |
A reasonable compromise would be to include +0 but not -0 (which is represented differently in IEEE 754) |
@kikito You're the first to bring actual standards to the discussion and now you're blowing this wide open again. 🤯 |
It is debatable if zero is a positive integer or not (example). It probably depends on the context, so maybe we different versions of numbers.txt?
I would like to use numbers.txt to iterate through my lists (starting with index zero), so this would really help!
The text was updated successfully, but these errors were encountered: