From 2a167c84d3a2b875cc67a169b5f0e1333b0b77f5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 16 Nov 2018 19:05:17 +0100 Subject: Add TWOS_COMPLEMENT, ONES_COMPLEMENT, and SIGN_MAGNITUDE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- man0/libsimple-arg.h.0 | 2 +- man0/libsimple.h.0 | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) (limited to 'man0') diff --git a/man0/libsimple-arg.h.0 b/man0/libsimple-arg.h.0 index 550eddd..d60e59e 100644 --- a/man0/libsimple-arg.h.0 +++ b/man0/libsimple-arg.h.0 @@ -1,4 +1,4 @@ -.TH LIBSIMPLE\-ARG.H 0 2018-11-08 libsimple +.TH LIBSIMPLE\-ARG.H 0 2018-11-15 libsimple .SH NAME libsimple\-arg.h \- command line argument parsing header for libsimple .SH SYNOPSIS diff --git a/man0/libsimple.h.0 b/man0/libsimple.h.0 index b912400..47ca55b 100644 --- a/man0/libsimple.h.0 +++ b/man0/libsimple.h.0 @@ -1,4 +1,4 @@ -.TH LIBSIMPLE.H 0 2018-11-07 libsimple +.TH LIBSIMPLE.H 0 2018-11-16 libsimple .SH NAME libsimple.h \- main header for libsimple .SH SYNOPSIS @@ -81,6 +81,19 @@ unless the system defines .PP The header .I +also defines, without a value, +.B TWOS_COMPLEMENT +if two's complement is used to represent signed integers, +.B ONES_COMPLEMENT +if ones' complement is used to represent signed integers, or +.B SIGN_MAGNITUDE +if sign\-magnitude is used to represent signed integers. Since +no other representation is permitted in C, the header +.I +will define exactly one of these macros. +.PP +The header +.I defines a number of functions, macros, and variables. The following macros are defined only without namespacing: -- cgit v1.2.3-70-g09d2