xref: /illumos-gate/usr/src/man/man3head/values.h.3head (revision 48edc7cf07b5dccc3ad84bf2dafe4150bd666d60)
te
Copyright 1989 AT&T
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
VALUES.H 3HEAD "Mar 2, 1993"
NAME
values.h, values - machine-dependent values
SYNOPSIS

#include <values.h>
DESCRIPTION

This file contains a set of manifest constants, conditionally defined for particular processor architectures.

The model assumed for integers is binary representation (one's or two's complement), where the sign is represented by the value of the high-order bit. BITS(type)

The number of bits in a specified type (for example, int).

HIBITS

The value of a short integer with only the high-order bit set.

HIBITL

The value of a long integer with only the high-order bit set.

HIBITI

The value of a regular integer with only the high-order bit set.

MAXSHORT

The maximum value of a signed short integer.

MAXLONG

The maximum value of a signed long integer.

MAXINT

The maximum value of a signed regular integer.

MAXFLOAT, LN_MAXFLOAT

The maximum value of a single-precision floating-point number, and its natural logarithm.

MAXDOUBLE, LN_MAXDOUBLE

The maximum value of a double-precision floating-point number, and its natural logarithm.

MINFLOAT, LN_MINFLOAT

The minimum positive value of a single-precision floating-point number, and its natural logarithm.

MINDOUBLE, LN_MINDOUBLE

The minimum positive value of a double-precision floating-point number, and its natural logarithm.

FSIGNIF

The number of significant bits in the mantissa of a single-precision floating-point number.

DSIGNIF

The number of significant bits in the mantissa of a double-precision floating-point number.

SEE ALSO

Intro(3) math.h(3HEAD)