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

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

Contents


FLOATING(3F)							  FLOATING(3F)


NAME    [Toc]    [Back]

     - return scalar values associated with the	argument derived from the
     model of floating point data.

SYNOPSIS    [Toc]    [Back]

     exponent (x)
     fraction (x)
     nearest (x,s)
     rrspacing (x)
     scale (x,i)
     set_exponent (x,i)
     spacing (x)

DESCRIPTION    [Toc]    [Back]

     These Fortran 90 inquiry functions	return scalar values which describe
     the value of x as components of the model of floating point data. The
     model for real x is defined by section 13.71.1 of the Fortran standard.
     In	each case the argument x is of type real and with the exception	of
     exponent the type and kind	type parameter of each result is the same as
     x.

     The exponent function returns an integer of default type equal to the
     base two exponent (e) of x	if the argument	is non-zero. If	zero, the
     result is zero.

     The fraction function returns the fractional part ( X * 2 ** (-e))	of x
     if	the argument is	non-zero. If zero, the result is zero.

     The nearest function returns the nearest representable number to x	in the
     direction of infinity and with the	same sign as s.	 s is also of type
     real.

     The rrspacing function returns the	reciprocal of the relative spacing of
     numbers near x.

     The scale function	returns	x * ( 2	** i )

     The set_exponent function returns the number whose	fractional part	is the
     fractional	part of	x and whose exponent part is i , if this result	is
     within range. That	is the result is x * (2	** ( i - e )).	If x is	zero,
     the result	is zero.

     The spacing function returns the absolute spacing of numbers near x.












									Page 1






FLOATING(3F)							  FLOATING(3F)


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
numeric IRIX 0- return scalar values related to parameters of an associated model
fp_class IRIX classes of long double floating-point values
glcgetf IRIX return value of a specified floating point variable
glcgetfv IRIX return the value of a floating point vector variable
modf FreeBSD extract signed integral and fractional values from floating-point number
modf NetBSD extract signed integral and fractional values from floating-point number
alGetFloatMax IRIX get/set the maximum value of floating point sample data.
cvt_ftof Tru64 Converts a floating-point data type to another
ALgetfloatmax IRIX (obsolete) get/set the maximum value of floating point sample data.
tt_otype_osig_arg_type HP-UX return the data type of an argument of a notice signature of an otype
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service