*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> f90/set_exponent (3)              
Title
Content
Arch
Section
 

Contents


SET_EXPONENT(3I)				       Last changed: 1-6-98

NAME    [Toc]    [Back]

     SET_EXPONENT - Sets exponent part of a number

SYNOPSIS    [Toc]    [Back]

     SET_EXPONENT ([X=]x, [I=]i)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The SET_EXPONENT intrinsic	function sets the exponent part	of a
     number.  It returns the numeric model number whose	fractional part	is
     the fractional part of the	real number model representation of x and
     whose exponent part is i.	For more information on	the real number
     model, see	the MODELS(3I) man page.  It accepts the following
     arguments:

     x	  Must be of type real

     i	  Must be of type integer

     SET_EXPONENT is an	elemental function.  The name of this intrinsic
     cannot be passed as an argument.

NOTES    [Toc]    [Back]

     This routine is implemented on CRAY T90 systems that support IEEE
     arithmetic	by calls to scalar-only	library	routines.

RETURN VALUES    [Toc]    [Back]

     The result	type and type parameter	are the	same as	x.
				   i-e
     The result	has the	value (x)(b   ), where b and e are defined in the
     model, provided that this result is within	range.	Argument i should
     be	within the range of MINEXPONENT(x) <= i	<= MAXEXPONENT(x).  If i is
     outside this range, the results are unpredictable.	 If x has value	0,
     the result	has value 0.

EXAMPLES    [Toc]    [Back]

     SET_EXPONENT(3.0, 1) has the value	1.5.

SEE ALSO    [Toc]    [Back]

      
      
     MODELS(3I)

     Fortran Language Reference	Manual,	Volume 2, publication SR-3903

     Intrinsic Procedures Reference Manual, publication	SR-2138, for the
     printed version of	this man page.

SET_EXPONENT(3I)				       Last changed: 1-6-98

NAME    [Toc]    [Back]

     SET_EXPONENT - Sets exponent part of a number

SYNOPSIS    [Toc]    [Back]

     SET_EXPONENT ([X=]x, [I=]i)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The SET_EXPONENT intrinsic	function sets the exponent part	of a
     number.  It returns the numeric model number whose	fractional part	is
     the fractional part of the	real number model representation of x and
     whose exponent part is i.	For more information on	the real number
     model, see	the MODELS(3I) man page.  It accepts the following
     arguments:

     x	  Must be of type real

     i	  Must be of type integer

     SET_EXPONENT is an	elemental function.  The name of this intrinsic
     cannot be passed as an argument.

NOTES    [Toc]    [Back]

     This routine is implemented on CRAY T90 systems that support IEEE
     arithmetic	by calls to scalar-only	library	routines.

RETURN VALUES    [Toc]    [Back]

     The result	type and type parameter	are the	same as	x.
				   i-e
     The result	has the	value (x)(b   ), where b and e are defined in the
     model, provided that this result is within	range.	Argument i should
     be	within the range of MINEXPONENT(x) <= i	<= MAXEXPONENT(x).  If i is
     outside this range, the results are unpredictable.	 If x has value	0,
     the result	has value 0.

EXAMPLES    [Toc]    [Back]

     SET_EXPONENT(3.0, 1) has the value	1.5.

SEE ALSO    [Toc]    [Back]

      
      
     MODELS(3I)

     Fortran Language Reference	Manual,	Volume 2, publication SR-3903

     Intrinsic Procedures Reference Manual, publication	SR-2138, for the
     printed version of	this man page.

[ Back ]
 Similar pages
Name OS Title
exponent IRIX Returns the exponent part of the argument when represented as a numeric model number
range IRIX Returns the decimal exponent range of a number according to the real or integer model
minexponent IRIX Returns the minimum (most negative) exponent of a real number in the numeric model
ipxfwstopsig IRIX Returns part of the lower bits of signal number that terminates child process
patchcurves IRIX sets the number of curves used to represent a patch
curveprecision IRIX sets number of line segments used to draw a curve segment
ilogb Tru64 Returns an unbiased exponent
ieee_exponent IRIX Returns the unbiased exponent of x
maxexponent IRIX Returns the maximum exponent in the numeric model
selected IRIX 0- return a kind type parameter given a decimal exponent range or precision.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service