xref: /illumos-gate/usr/src/lib/libm/common/C/_TBL_tan.c (revision 132157d7fb25c120ae1deca2a65fa7c78e8fcfd0)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
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 #include "libm_protos.h"
31 
32 const double _TBL_tan_hi[] = {
33  1.57534107325271622e-01, 1.61539784049521462e-01, 1.65550519273933966e-01,
34  1.69566445219766521e-01, 1.73587694767981526e-01, 1.77614401477446726e-01,
35  1.81646699603321415e-01, 1.85684724115634414e-01, 1.89728610718059132e-01,
36  1.93778495866891859e-01, 1.97834516790238668e-01, 2.01896811507417145e-01,
37  2.05965518848578860e-01, 2.10040778474558987e-01, 2.14122730896958657e-01,
38  2.18211517498467428e-01, 2.22307280553431325e-01, 2.26410163248673829e-01,
39  2.30520309704576154e-01, 2.34637864996423667e-01, 2.38762975176025932e-01,
40  2.42895787293616550e-01, 2.47036449420041271e-01, 2.51185110669240763e-01,
41  2.55341921221036272e-01, 2.63680596419996804e-01, 2.72053698658770882e-01,
42  2.80462470145251386e-01, 2.88908172440514699e-01, 2.97392087269024608e-01,
43  3.05915517353059274e-01, 3.14479787272571532e-01, 3.23086244351745544e-01,
44  3.31736259573572778e-01, 3.40431228523830398e-01, 3.49172572365910372e-01,
45  3.57961738848017019e-01, 3.66800203344323394e-01, 3.75689469931754838e-01,
46  3.84631072504149241e-01, 3.93626575925632771e-01, 4.02677577225140193e-01,
47  4.11785706834108478e-01, 4.20952629869475847e-01, 4.30180047464230053e-01,
48  4.39469698147866239e-01, 4.48823359279239720e-01, 4.58242848534432368e-01,
49  4.67730025452391784e-01, 4.77286793041252266e-01, 4.86915099448406330e-01,
50  4.96616939697565651e-01, 5.06394357496229852e-01, 5.16249447117175131e-01,
51  5.26184355357779188e-01, 5.36201283581215993e-01, 5.46302489843790484e-01,
52  5.66767065580586427e-01, 5.87597367591443209e-01, 6.08813740324380737e-01,
53  6.30437673835884782e-01, 6.52491897928808018e-01, 6.75000485144242934e-01,
54  6.97988963623599301e-01, 7.21484440990904474e-01, 7.45515740559391960e-01,
55  7.70113551344208669e-01, 7.95310593568674173e-01, 8.21141801589894138e-01,
56  8.47644526446552637e-01, 8.74858760554482306e-01, 9.02827387452673547e-01,
57  9.31596459944072475e-01, 9.61215510494370373e-01, 9.91737898363268644e-01,
58 };
59 const double _TBL_tan_lo[] = {
60 -1.10615392752930551e-17, 1.42255435911932711e-17, 1.02781342487141920e-17,
61 -1.04735896510580927e-17,-5.46679990560150911e-18, 1.50201543247778489e-18,
62  1.22522327805930836e-17,-2.52772423968968903e-18, 9.78955701743985001e-19,
63  4.61515122717816178e-18, 7.14813042382104539e-19,-1.25529909642919992e-17,
64  1.19416304006222131e-17,-5.91325462642753544e-18, 7.53213214053688138e-18,
65  4.77223821731568090e-18, 6.32882137760769522e-18, 8.33823681661647871e-18,
66 -1.25419320906151988e-17, 1.16585041935775587e-17,-1.19653634178542542e-17,
67 -7.22806346068389604e-18,-6.16674472236513534e-18, 4.26199277415660669e-18,
68 -5.58935834356478328e-18,-4.56998635843850688e-18, 1.78004627511465564e-18,
69  1.74249040881549088e-17, 2.70817328270223006e-17,-1.80870634839170844e-17,
70 -1.00676145758650168e-17,-1.53577462986005684e-17,-2.38939880909534397e-17,
71 -1.08193046058071237e-17,-1.06856311222117164e-17,-1.96951245902998606e-17,
72 -2.08660034657941102e-17, 2.82596474303348100e-17, 2.34797942068937341e-18,
73 -1.76131026613802985e-17,-1.29729310968305823e-17, 1.87495311063417555e-17,
74 -2.29163073231136327e-18,-2.51936954463539765e-17,-4.11327516430776285e-18,
75  1.50393242431203736e-18,-1.09029595007501330e-17,-6.87284752683418342e-19,
76  1.55195027932634982e-17,-4.62284921534513474e-18,-5.45294879014110259e-18,
77 -2.56576334605328725e-17,-4.00960685506800741e-17, 1.35860113023765056e-17,
78 -4.34857062258506890e-17, 3.85791583096984630e-17, 2.90965762168371759e-17,
79  1.90815918857458480e-17, 1.21159907937263400e-17,-1.52112721227855650e-17,
80 -1.51838757657007437e-17,-2.51352280752587451e-17,-2.66690480643161193e-17,
81 -4.59728584599455591e-17,-5.42439848134543255e-17, 3.56284233494755594e-17,
82  3.61475127591663133e-17, 1.22197541073075113e-17,-1.61356193051149559e-17,
83  1.66243632690603545e-17, 4.30578558405427098e-17,-4.43234026650131250e-17,
84 -1.35473813965930355e-17, 4.30118334112910435e-17, 3.62593428168003066e-17,
85 };
86