A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2643.htm below:

N2643: negative


Submitter:CFP group
Submission Date: 2021-01-24
Document: WG14 N2643
Title: N2643: negative
Reference Documents: N2596

Summary: The term 'negative' is ambiguous when talking about zero.

Is -0.0 negative? Is it nonnegative? Is +0.0 positive? We believe that:

However, -0.0 and +0.0 are both nonnegative and nonpositive.

Since C23 now requires just twos complement integers, there are no -0 integers (unlike with sign-magnitude and ones complement).

Since some people interpret 'negative' to include -0.0, we believe that the following changes would make the standard clearer.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4