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

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

Contents


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

NAME    [Toc]    [Back]

     FRACTION -	Returns	the fractional part of the numeric model
     representation of the argument value

SYNOPSIS    [Toc]    [Back]

     FRACTION ([X=]x)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The FRACTION intrinsic function returns the fractional part of the
     numeric model representation of the argument value.  It accepts the
     following argument:

     x	  Must be of type real

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

RETURN VALUES    [Toc]    [Back]

     The result	type and type parameter	are that of x.	The result has the
     value x multiplied	by
      -e
     b	, where	b and e	are as defined in the real number system model.
     For more information on the real number system model, see the
     MODELS(3I)	man page.

     If	x has the value	zero, the result has the value zero.

EXAMPLES    [Toc]    [Back]

     FRACTION(3.0) has the value 0.75 for reals.

SEE ALSO    [Toc]    [Back]

      
      
     MODELS(3I)

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

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

NAME    [Toc]    [Back]

     FRACTION -	Returns	the fractional part of the numeric model
     representation of the argument value

SYNOPSIS    [Toc]    [Back]

     FRACTION ([X=]x)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The FRACTION intrinsic function returns the fractional part of the
     numeric model representation of the argument value.  It accepts the
     following argument:

     x	  Must be of type real

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

RETURN VALUES    [Toc]    [Back]

     The result	type and type parameter	are that of x.	The result has the
     value x multiplied	by
      -e
     b	, where	b and e	are as defined in the real number system model.
     For more information on the real number system model, see the
     MODELS(3I)	man page.

     If	x has the value	zero, the result has the value zero.

EXAMPLES    [Toc]    [Back]

     FRACTION(3.0) has the value 0.75 for reals.

SEE ALSO    [Toc]    [Back]

      
      
     MODELS(3I)

     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
rrspacing IRIX Returns the reciprocal of the relative spacing of numeric model numbers near the argument value
maxexponent IRIX Returns the maximum exponent in the numeric model
epsilon IRIX Returns a positive number near 1 in the numeric model
huge IRIX Returns the largest number in the integer or real numeric model
minexponent IRIX Returns the minimum (most negative) exponent of a real number in the numeric model
spacing IRIX Returns the absolute spacing of real model numbers near the argument value
floating IRIX 0- return scalar values associated with the argument derived from the model of floating point data.
imag IRIX FORTRAN imaginary part of complex argument
getsm IRIX returns the current shading model
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service