*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: copysign | Section: 3 | Source: MINIX | File: copysign.3
COPYSIGN(3) FreeBSD Library Functions Manual COPYSIGN(3) NAME copysign, copysignf, copysignl - functions to manipulate signs LIBRARY Math Library (libm, -lm) SYNOPSIS #include <math.h> double copysign(double x, double y); float copysignf(float x, float y); long double copysignl(long double x, long double y); DESCRIPTION The copysign(), copysignf(), and copysignl() functions return a value whose absolute value matches x, but whose sign bit is taken from y. RETURN VALUES Upon successful completion, all three functions return a value with the magnitude of x and the sign of y. If x is NaN , the functions return a NaN with the sign of y. SEE ALSO math(3), signbit(3) STANDARDS The described functions conform to ISO/IEC 9899:1999 ("ISO C99"). CAVEATS Note that on implementations that represent a signed zero but do not treat negative zero consistently in arithmetic operations, these functions may regard the sign of zero as positive. FreeBSD 14.1-RELEASE-p8 April 13, 2011 FreeBSD 14.1-RELEASE-p8

Navigation Options