[Home] . . . Search by [Problem] [Package] [Module] [Keyword] . . . [Math at NIST]

GAMS Module RINT in FDLIBM


RINT

 
Returns the argument rounded to an integer according to the prevailing rounding
mode. A portable C implementation for machines that support IEEE 754 floating
point arithmetic or other standards such as SVID, X/OPEN, and POSIX/ANSI.
 
Classes  :  A3a . Standard precision real arithmetic
            C1 .  Integer-valued functions (e.g., factorial, binomial
                coefficient, permutations, combinations, floor, ceiling)
 
Type     : C subroutine in FDLIBM package.
Access   : Public domain. Portable.
Precision: Double.
 
Usage    : r = rint(x)
 
Details  : Fullsource Readme Source
Sites    : (1) NETLIB
 

Implementation of RINT from FDLIBM on NETLIB

 
NETLIB:    Public access repository, The University of Tennessee at
           Knoxville and Bell Laboratories
 
Precision: Double.
 
You may access components from NETLIB outside GAMS as follows.
 
   Readme       : Anonymous FTP from ftp.netlib.org in fdlibm/readme
   Source       : Anonymous FTP from ftp.netlib.org in fdlibm/s_rint.c
   Fullsource   : World Wide Web at
                  http://www.netlib.org/fdlibm/s_rint.c plus
                  dependencies


[Home] . . . Search by [Problem] [Package] [Module] [Keyword] . . . [Math at NIST]

GAMS is a service of the Mathematical and Computational Sciences Division of the Information Technology Laboratory of the National Institute of Standards and Technology

This page was generated on Sun Jul 06, 2008 at 03:13:51 UTC