Print this page
11210 libm should be cstyle(1ONBLD) clean

*** 20,41 **** */ /* * Copyright 2011 Nexenta Systems, Inc. All rights reserved. */ /* * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #pragma weak __copysign = copysign #include "libm.h" double ! copysign(double x, double y) { int hx, hy; ! hx = ((int *) &x)[HIWORD]; ! hy = ((int *) &y)[HIWORD]; ! return (hx ^ hy) >= 0 ? (x) : (-x); } --- 20,43 ---- */ /* * Copyright 2011 Nexenta Systems, Inc. All rights reserved. */ + /* * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #pragma weak __copysign = copysign #include "libm.h" double ! copysign(double x, double y) ! { int hx, hy; ! hx = ((int *)&x)[HIWORD]; ! hy = ((int *)&y)[HIWORD]; ! return ((hx ^ hy) >= 0 ? (x) : (-x)); }