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

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

Contents


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

NAME    [Toc]    [Back]

     NEAREST - Returns the nearest different machine representable number
     in	a given	direction

SYNOPSIS    [Toc]    [Back]

     NEAREST ([X=]x, [S=]s)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The NEAREST intrinsic function returns the	nearest	different machine
     representable number in a given direction.	 It accepts the	following
     arguments:

     x	  Must be of type real

     s	  Must be of type real and not equal to	zero

     NEAREST 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 the	same as	x.  The	result has
     a value equal to the machine representable	number distinct	from x and
     nearest to	it in the direction of the infinity with the same sign as
     s.

NOTES    [Toc]    [Back]

     On	CRAY T90 systems that support IEEE arithmetic, this intrinsic
     vectorizes	inline for 64-bit operands and calls to	scalar-only library
     routines for 128-bit operands.

EXAMPLES				   -46
     NEAREST (3.0, 2.0)	has the	value 3	+ 2    on UNICOS systems according
     to	the real number	system model.
					   -22
     NEAREST (3.0, 2.0)	has the	value 3	+ 2    on UNICOS/mk and	IRIX
     systems, according	to the real number system model.

     For more information on the real number model, see	the MODELS(3I) man
     page.

SEE ALSO    [Toc]    [Back]

      
      
     MODELS(3I)

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

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

NAME    [Toc]    [Back]

     NEAREST - Returns the nearest different machine representable number
     in	a given	direction

SYNOPSIS    [Toc]    [Back]

     NEAREST ([X=]x, [S=]s)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The NEAREST intrinsic function returns the	nearest	different machine
     representable number in a given direction.	 It accepts the	following
     arguments:

     x	  Must be of type real

     s	  Must be of type real and not equal to	zero

     NEAREST 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 the	same as	x.  The	result has
     a value equal to the machine representable	number distinct	from x and
     nearest to	it in the direction of the infinity with the same sign as
     s.

NOTES    [Toc]    [Back]

     On	CRAY T90 systems that support IEEE arithmetic, this intrinsic
     vectorizes	inline for 64-bit operands and calls to	scalar-only library
     routines for 128-bit operands.

EXAMPLES				   -46
     NEAREST (3.0, 2.0)	has the	value 3	+ 2    on UNICOS systems according
     to	the real number	system model.
					   -22
     NEAREST (3.0, 2.0)	has the	value 3	+ 2    on UNICOS/mk and	IRIX
     systems, according	to the real number system model.

     For more information on the real number model, see	the MODELS(3I) man
     page.

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
ieee_next_after IRIX Returns the next representable neighbor of x in the direction toward y
DXmCSTextXYToPos Tru64 Retrieves (returns) the position in the text of the character nearest to a specified x and y positio...
radix IRIX Returns the base number from the real or integer number models
precision IRIX Returns the decimal precision of a number in the real number model
getplanes IRIX returns the number of available bitplanes
getmap IRIX returns the number of the current color map
dmPMGetPluginCount IRIX returns the number of initialized plugins
digits IRIX Returns the number of significant digits
strlen Tru64 General: Returns the number of characters in a
length IRIX Returns the number of words transferred
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service