Print this page
5261 libm should stop using synonyms.h


  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  24  */
  25 /*
  26  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  27  * Use is subject to license terms.
  28  */
  29 
  30 #pragma weak clogl = __clogl
  31 
  32 #include "libm.h"       /* atan2l/fabsl/isinfl/log1pl/logl/__k_clog_rl */
  33 #include "complex_wrapper.h"
  34 #include "longdouble.h"
  35 
  36 #if defined(__sparc)
  37 #define SIGP7   120
  38 #define HSIGP7  60
  39 #elif defined(__x86)
  40 #define SIGP7   70
  41 #define HSIGP7  35
  42 #endif
  43 
  44 /* INDENT OFF */
  45 static const long double zero = 0.0L, half = 0.5L, one = 1.0L;
  46 /* INDENT ON */
  47 
  48 ldcomplex
  49 clogl(ldcomplex z) {
  50         ldcomplex ans;




  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  24  */
  25 /*
  26  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  27  * Use is subject to license terms.
  28  */
  29 
  30 #pragma weak __clogl = clogl
  31 
  32 #include "libm.h"       /* atan2l/fabsl/isinfl/log1pl/logl/__k_clog_rl */
  33 #include "complex_wrapper.h"
  34 #include "longdouble.h"
  35 
  36 #if defined(__sparc)
  37 #define SIGP7   120
  38 #define HSIGP7  60
  39 #elif defined(__x86)
  40 #define SIGP7   70
  41 #define HSIGP7  35
  42 #endif
  43 
  44 /* INDENT OFF */
  45 static const long double zero = 0.0L, half = 0.5L, one = 1.0L;
  46 /* INDENT ON */
  47 
  48 ldcomplex
  49 clogl(ldcomplex z) {
  50         ldcomplex ans;