XCON(3)

SYNOPSIS
SUBROUTINE XCON (X, IX, IERROR)

NAME
xcon - To provide single-precision floating-point arithmetic with an extended exponent range.

LIBRARY
SLATEC

CATEGORY
A3D

TYPE
SINGLE PRECISION (XCON-S, DXCON-D)

KEYWORDS
EXTENDED-RANGE SINGLE-PRECISION ARITHMETIC

AUTHOR
Lozier, Daniel W., (National Bureau of Standards) Smith, John M., (NBS and George Mason University)

DESCRIPTION
REAL X INTEGER IX CONVERTS (X,IX) = X*RADIX**IX TO DECIMAL FORM IN PREPARATION FOR PRINTING, SO THAT (X,IX) = X*10**IX WHERE 1/10 .LE. ABS(X) .LT. 1 IS RETURNED, EXCEPT THAT IF (ABS(X),IX) IS BETWEEN RADIX**(-2L) AND RADIX**(2L) THEN THE REDUCED FORM WITH IX = 0 IS RETURNED.

SEE ALSO
XSET

REFERENCES
(NONE)

ROUTINES CALLED
XADJ, XC210, XRED

COMMON BLOCKS
XBLK2

REVISION HISTORY (YYMMDD)
820712 DATE WRITTEN
881020 Revised to meet SLATEC CML recommendations. (DWL and JMS)
901019 Revisions to prologue. (DWL and WRB)
901106 Changed all specific intrinsics to generic. (WRB) Corrected order of sections in prologue and added TYPE section. (WRB)
920127 Revised PURPOSE section of prologue. (DWL)