Back to index

glibc  2.9
Functions
s_copysign.c File Reference
#include <math.h>
#include <math_ldbl_opt.h>

Go to the source code of this file.

Functions

double __copysign (double x, double y)

Function Documentation

double __copysign ( double  x,
double  y 
)

Definition at line 24 of file s_copysign.c.

{
  __asm ("cpys %1, %2, %0" : "=f" (x) : "f" (y), "f" (x));
  return x;
}