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


   5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   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 /*
  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 /*
  31  * For i = 0L, ..., 75 let x(i) be the extended precision number
  32  * whose exponent is given by 0x3ffc + ((i + 8) >> 5) and whose
  33  * five most significant fraction bits are given by (i + 8) & 0x1f.
  34  * (The remaining fraction bits are zero and the integer bit is 1.)
  35  * Then _TBL_tanl_hi[i] := tan(x(i)) rounded to extended precisionL,
  36  * and _TBL_tanl_lo[i] ~ tan(x(i)) - _TBL_tanl_hi[i].
  37  */
  38 
  39 #include "libm.h"
  40 
  41 const long double _TBL_tanl_hi[] = {
  42          1.5753410732527161068790289e-01L,
  43          1.6153978404952147631388516e-01L,
  44          1.6555051927393397620861225e-01L,




   5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   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 /*
  23  * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  24  */
  25 
  26 /*
  27  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  28  * Use is subject to license terms.
  29  */
  30 
  31 /*
  32  * For i = 0L, ..., 75 let x(i) be the extended precision number
  33  * whose exponent is given by 0x3ffc + ((i + 8) >> 5) and whose
  34  * five most significant fraction bits are given by (i + 8) & 0x1f.
  35  * (The remaining fraction bits are zero and the integer bit is 1.)
  36  * Then _TBL_tanl_hi[i] := tan(x(i)) rounded to extended precisionL,
  37  * and _TBL_tanl_lo[i] ~ tan(x(i)) - _TBL_tanl_hi[i].
  38  */
  39 
  40 #include "libm.h"
  41 
  42 const long double _TBL_tanl_hi[] = {
  43         1.5753410732527161068790289e-01L,
  44         1.6153978404952147631388516e-01L,
  45         1.6555051927393397620861225e-01L,