Print this page
5261 libm should stop using synonyms.h


   9  * or http://www.opensolaris.org/os/licensing.
  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  * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  23  */
  24 /*
  25  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  26  * Use is subject to license terms.
  27  */
  28 
  29 #pragma weak j0f = __j0f
  30 #pragma weak j1f = __j1f
  31 #pragma weak jnf = __jnf
  32 #pragma weak y0f = __y0f
  33 #pragma weak y1f = __y1f
  34 #pragma weak ynf = __ynf
  35 
  36 #include "libm.h"
  37 #include <float.h>
  38 
  39 #if defined(__i386) && !defined(__amd64)
  40 extern int __swapRP(int);
  41 #endif
  42 
  43 static const float
  44         zerof   = 0.0f,
  45         onef    = 1.0f;
  46 
  47 static const double C[] = {
  48         0.0,
  49         -0.125,
  50         0.25,
  51         0.375,
  52         0.5,
  53         1.0,
  54         2.0,




   9  * or http://www.opensolaris.org/os/licensing.
  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  * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  23  */
  24 /*
  25  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  26  * Use is subject to license terms.
  27  */
  28 
  29 #pragma weak __j0f = j0f
  30 #pragma weak __j1f = j1f
  31 #pragma weak __jnf = jnf
  32 #pragma weak __y0f = y0f
  33 #pragma weak __y1f = y1f
  34 #pragma weak __ynf = ynf
  35 
  36 #include "libm.h"
  37 #include <float.h>
  38 
  39 #if defined(__i386) && !defined(__amd64)
  40 extern int __swapRP(int);
  41 #endif
  42 
  43 static const float
  44         zerof   = 0.0f,
  45         onef    = 1.0f;
  46 
  47 static const double C[] = {
  48         0.0,
  49         -0.125,
  50         0.25,
  51         0.375,
  52         0.5,
  53         1.0,
  54         2.0,