*DECK XADJ SUBROUTINE XADJ (X, IX, IERROR) C***BEGIN PROLOGUE XADJ C***PURPOSE To provide single-precision floating-point arithmetic C with an extended exponent range. C***LIBRARY SLATEC C***CATEGORY A3D C***TYPE SINGLE PRECISION (XADJ-S, DXADJ-D) C***KEYWORDS EXTENDED-RANGE SINGLE-PRECISION ARITHMETIC C***AUTHOR Lozier, Daniel W., (National Bureau of Standards) C Smith, John M., (NBS and George Mason University) C***DESCRIPTION C REAL X C INTEGER IX C C TRANSFORMS (X,IX) SO THAT C RADIX**(-L) .LE. ABS(X) .LT. RADIX**L. C ON MOST COMPUTERS THIS TRANSFORMATION DOES C NOT CHANGE THE MANTISSA OF X PROVIDED RADIX IS C THE NUMBER BASE OF SINGLE-PRECISION ARITHMETIC. C C***SEE ALSO XSET C***REFERENCES (NONE) C***ROUTINES CALLED XERMSG C***COMMON BLOCKS XBLK2 C***REVISION HISTORY (YYMMDD) C 820712 DATE WRITTEN C 881020 Revised to meet SLATEC CML recommendations. (DWL and JMS) C 901019 Revisions to prologue. (DWL and WRB) C 901106 Changed all specific intrinsics to generic. (WRB) C Corrected order of sections in prologue and added TYPE C section. (WRB) C CALLs to XERROR changed to CALLs to XERMSG. (WRB) C 920127 Revised PURPOSE section of prologue. (DWL) C***END PROLOGUE XADJ