Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ values(5) — Stardent 3.0 System Software

Media Vault

Software Library

Restoration Projects

Artifacts Sought

VALUES(5)  —  Stardent Computer Inc.

NAME

values − manifest constants for Stardent 1500/3000 architecture

DESCRIPTION

This file contains a set of manifest constants defined for the Stardent 1500/3000 architecture. 

Integers are represented in two’s complement binary, with the sign represented by the high-order bit. 

BITS(type) The number of bits in a specified type (e.g., int). 

HIBITS The value of a short integer with only the high-order bit set ( 0x8000 ). 

HIBITL The value of a long integer with only the high-order bit set ( 0x80000000). 

HIBITI
The value of a regular integer with only the high-order bit set (same as HIBITL).

MAXSHORT
The maximum value of a signed short integer (0x7FFF = 32767).

MAXLONG The maximum value of a signed long integer (0x7FFFFFFF = 2147483647). 

MAXINT The maximum value of a signed regular integer (same as MAXLONG). 

MAXFLOAT
The maximum value of a single-precision floating-point number.

LN_MAXFLOAT
The natural log of MAXFLOAT.

MAXDOUBLE
The maximum value of a double-precision floating-point number.

LN_MAXDOUBLE
The natural log of MAXDOUBLE.

MINFLOAT The minimum positive value of a single-precision floating-point number. 

LN_MINFLOAT
The natural log of MINFLOAT.

MINDOUBLE
The minimum positive value of a double-precision floating-point number.

LN_MINDOUBLE
The natural log of MINDOUBLE.

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.

_EXPBASE The exponent base (2). 

_IEEE Nonzero if IEEE representation is used (1). 

_DEXPLEN
The number of bits for the exponent of a double (11).

_FEXPLEN The number of bits for the exponent of a float (8). 

_HIDDENBIT
Nonzero if the most significant bit of the mantissa is implicit (1).

DMAXEXP
The maximum exponent of a double (as returned by frexp()).

FMAXEXPThe maximum exponent of a float (as returned by frexp()). 

DMINEXP
The minimum exponent of a double (as returned by frexp()).

FMINEXP
The minimum exponent of a float (as returned by frexp())

DMAXPOWTWO
The largest power of two exactly representable as a double.

FMAXPOWTWO
The largest power of two exactly representable as a float.
 

September 29, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026