Module COPYSIGN in FDLIBMCopysign(x,y) returns a value with the magnitude of x and the sign of y. 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 Type : C subroutine in FDLIBM package. Access : Public domain. Portable. Precision: Double. Usage : r = copysign(x,y) Details : Fullsource Readme Source Sites : (1) 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_copysign.c
Fullsource : World Wide Web at
http://www.netlib.org/fdlibm/s_copysign.c plus
dependencies
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 Fri Aug 08, 2008 at 18:16:46 UTC