Wj. Cody et Jt. Coonen, ALGORITHM-722 - FUNCTIONS TO SUPPORT THE IEEE-STANDARD-FOR-BINARY-FLOATING-POINT-ARITHMETIC, ACM transactions on mathematical software, 19(4), 1993, pp. 443-451
This paper describes C programs for the support functions copysign(x,y
), logb(x), scalb(x,n), nextafter(x,y), finite(x), and isnan(x) recomm
ended in the Appendix to the IEEE Standard for Binary Floating-Point A
rithmetic. In the case of logb, the modified definition given in the l
ater IEEE Standard for Radix-Independent Floating-Point Arithmetic is
followed. These programs should run without modification on most syste
ms conforming to the binary standard.