SCALE man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]

SCALE(3I)					       Last changed: 3-2-98

NAME
     SCALE - Returns (x)(b**i), where b is the base in the real number
     model representation of x

SYNOPSIS
     SCALE ([X=]x, [I=]i)

IMPLEMENTATION
     UNICOS, UNICOS/mk, and IRIX systems

STANDARDS
     Fortran 90

DESCRIPTION
     The SCALE intrinsic function returns
	  i
     (x)(b ), where b is the base in the real number model representation
     of x.  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

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

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

RETURN VALUES
     The result type and type parameter are the same as x.  The result has
     the value
	  i
     (x)(b ), where b is defined in the model for real numbers representing
     values of x, 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.

EXAMPLES
     SCALE (3.0, 2) has the value 12.0 for reals.

SEE ALSO
     MODELS(3I)

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

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net