Back to index

glibc  2.9
Functions
s_copysignl.c File Reference
#include "math.h"
#include "math_private.h"
#include <math_ldbl_opt.h>

Go to the source code of this file.

Functions

long double __copysignl (long double x, long double y)
 long_double_symbol (libc, __copysignl, copysignl)

Function Documentation

long double __copysignl ( long double  x,
long double  y 
)

Definition at line 33 of file s_copysignl.c.

{
  if (signbit (x) != signbit (y))
    x = -x;
  return x;
}
long_double_symbol ( libc  ,
__copysignl  ,
copysignl   
)