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

  man pages->IRIX man pages -> ftn/ep (3)              
Title
Content
Arch
Section
 

Contents


EP(3F)									EP(3F)


NAME    [Toc]    [Back]

     ep: epbase, epprec, epemin, epemax, eptiny, ephuge, epmrsp	- FORTRAN
     numeric characteristic constants

SYNOPSIS    [Toc]    [Back]

     integer *2	shrt
     integer *4	intr
     real *4 sngl
     real *8 dbl
     integer *8	ll

     integer *4	nbase, nprec, nemin, nemax, nhuge
     real *4 ftiny, fhuge, fepsl
     real *8 dtiny, dhuge, depsl
     integer *8	llhuge

     nbase = epbase(shrt)
     nprec = epprec(shrt)
     nhuge = ephuge(shrt)

     nbase = epbase(intr)
     nprec = epprec(intr)
     nhuge = ephuge(intr)

     nbase = epbase(ll)
     nprec = epprec(ll)
     llhuge = ephuge(ll)

     nbase = epbase(sngl)
     nprec = epprec(sngl)
     nemin = epemin(sngl)
     nemax = epemax(sngl)
     ftiny = eptiny(sngl)
     fhuge = ephuge(sngl)
     fepsl = epmrsp(sngl)

     nbase = epbase(dbl)
     nprec = epprec(dbl)
     nemin = epemin(dbl)
     nemax = epemax(dbl)
     dtiny = eptiny(dbl)
     dhuge = ephuge(dbl)
     depsl = epmrsp(dbl)

DESCRIPTION    [Toc]    [Back]

     ep	is the general name for	the set	of intrinsic functions which return
     the numeric characteristics of each of the	standard numeric types.

     epbase - returns the base for the type of the argument (for floating
     point types, epbase returns the base of the mantissa).  Currently this is
     2.




									Page 1






EP(3F)									EP(3F)



     epprec - returns the precision (in	terms of power of the base) for	the
     type of the argument.  The	sign bit (if any) is not included in the
     precision.	 The assumed bit (see IEEE floating point specifications), if
     any, will be included in the precision.

     epemin, epemax - returns the minimum (or maximum) exponent	for the
     floating point type of the	argument.

     eptiny, ephuge - returns the smallest (or largest)	non-zero positive
     number in the type	of the argument.

     epmrsp - returns the epsilon for the floating point type of the argument.

NOTE    [Toc]    [Back]

     eptiny is not supported for integer types,	it may be safely assumed to be
     1.


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
langinfo HP-UX language information constants
pxfconst IRIX Returns the value associated with symbolic constants
limits HP-UX implementation-specific constants
langinfo IRIX language information constants
unistd HP-UX standard structures and symbolic constants
constant IRIX Perl pragma to declare constants
unistd IRIX file header for symbolic constants
math HP-UX math functions, constants, and types
limits Tru64 Header files for implementation-specific constants
limits IRIX file headers for implementation-specific constants
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service