1 /* s_copysignl.c -- long double version of s_copysign.c.
5 * ====================================================
6 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
8 * Developed at SunPro, a Sun Microsystems, Inc. business.
9 * Permission to use, copy, modify, and distribute this
10 * software is freely granted, provided that this notice
12 * ====================================================
15 #if defined(LIBM_SCCS) && !defined(lint)
16 static char rcsid
[] = "$NetBSD: $";
20 * copysignl(long double x, long double y)
21 * copysignl(x,y) returns a value with the magnitude of x and
22 * with the sign bit of y.
25 #define NO_MATH_REDIRECT
27 #include <libm-alias-ldouble.h>
30 __copysignl (long double x
, long double y
)
32 return __builtin_copysignl (x
, y
);
34 libm_alias_ldouble (__copysign
, copysign
)