Print this page
11210 libm should be cstyle(1ONBLD) clean
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/libm/common/Q/_TBL_tanl.c
+++ new/usr/src/lib/libm/common/Q/_TBL_tanl.c
1 1 /*
2 2 * CDDL HEADER START
3 3 *
4 4 * The contents of this file are subject to the terms of the
5 5 * Common Development and Distribution License (the "License").
6 6 * You may not use this file except in compliance with the License.
7 7 *
8 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 * or http://www.opensolaris.org/os/licensing.
10 10 * See the License for the specific language governing permissions
11 11 * and limitations under the License.
12 12 *
13 13 * When distributing Covered Code, include this CDDL HEADER in each
14 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
15 15 * If applicable, add the following below this CDDL HEADER, with the
16 16 * fields enclosed by brackets "[]" replaced with your own identifying
17 17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 18 *
19 19 * CDDL HEADER END
20 20 */
21 21
22 22 /*
23 23 * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
24 24 */
25 +
25 26 /*
26 27 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
27 28 * Use is subject to license terms.
28 29 */
29 30
30 31 /*
31 32 * table of tanl(x) where x is 0.15625 + i*0.03125, i=0,1,...,74.
32 33 * {0x3ffc4000,0,0,0} --> (inc 0x800) --> {0x3ffe9000,0,0,0}
33 34 * 0.15625 0.03125 0.78125 (pi/4 = 0.785395663...)
34 35 */
35 36
36 37 #include "libm.h"
37 38
38 39 const long double _TBL_tanl_hi[] = {
39 40 +1.575341073252716106852257741724104864870e-0001L,
40 41 +1.615397840495214763092752400110463977418e-0001L,
41 42 +1.655505192739339762139309125850523900470e-0001L,
42 43 +1.695664452197665101509706065437500194264e-0001L,
43 44 +1.735876947679815208446734114353616329985e-0001L,
44 45 +1.776144014774467276317429269586882243819e-0001L,
45 46 +1.816466996033214276582758961743535864882e-0001L,
46 47 +1.856847241156344116266612278649865067149e-0001L,
47 48 +1.897286107180591328910833700730338069829e-0001L,
48 49 +1.937784958668918635160223977682694780440e-0001L,
49 50 +1.978345167902386688084063751239797409303e-0001L,
50 51 +2.018968115074171328840689933657666757769e-0001L,
51 52 +2.059655188485788721087393288030358608878e-0001L,
52 53 +2.100407784745589808415175232245911862545e-0001L,
53 54 +2.141227308969586648860666814158624683863e-0001L,
54 55 +2.182115174984674325058820481495796084382e-0001L,
55 56 +2.223072805534313308722888175879995829692e-0001L,
56 57 +2.264101632486738374776714045035595099974e-0001L,
57 58 +2.305203097045761414554475155379181753938e-0001L,
58 59 +2.346378649964236789993677105610770268268e-0001L,
59 60 +2.387629751760259202681510637409399276566e-0001L,
60 61 +2.428957872936165424010859430156609881174e-0001L,
61 62 +2.470364494200412646634947325158035272170e-0001L,
62 63 +2.511851106692407673991038906774344215246e-0001L,
63 64 +2.553419212210362665044822364904736907938e-0001L,
64 65 +2.636805964199967998548259948794679989658e-0001L,
65 66 +2.720536986587708834265643667712727220498e-0001L,
66 67 +2.804624701452514031696042891852650256007e-0001L,
67 68 +2.889081724405147260015884454642448163630e-0001L,
68 69 +2.973920872690245894671940160246554900716e-0001L,
69 70 +3.059155173530592641072389231969929579942e-0001L,
70 71 +3.144797872725715161734382202256272257022e-0001L,
71 72 +3.230862443517455201183006557179619867007e-0001L,
72 73 +3.317362595735727673394297030105334375685e-0001L,
73 74 +3.404312285238303874282274418902587687499e-0001L,
74 75 +3.491725723659103522547129636843912210518e-0001L,
75 76 +3.579617388480169983883959631794471179752e-0001L,
76 77 +3.668002033443234227206048185537661359712e-0001L,
77 78 +3.756894699317548404092457756875977254806e-0001L,
78 79 +3.846310725041492230408562796582816506283e-0001L,
79 80 +3.936265759256327582294137871012180779893e-0001L,
80 81 +4.026775772251402117785937359900067250949e-0001L,
81 82 +4.117857068341084757888498763848712415895e-0001L,
82 83 +4.209526298694758220747941414506739471850e-0001L,
83 84 +4.301800474642300490203296054472752443302e-0001L,
84 85 +4.394696981478662404836631484799309510327e-0001L,
85 86 +4.488233592792397088405555239245740331672e-0001L,
86 87 +4.582428485344323669591891965241567184790e-0001L,
87 88 +4.677300254523917999213427069619926229670e-0001L,
88 89 +4.772867930412522617224042590104237355391e-0001L,
89 90 +4.869150994484063244987175035683195875449e-0001L,
90 91 +4.966169396975656257105605790725693200164e-0001L,
91 92 +5.063943574962298120708227547071771601970e-0001L,
92 93 +5.162494471171751444917753379369286911420e-0001L,
93 94 +5.261843553577791441706134379510093677744e-0001L,
94 95 +5.362012835812160313475789292393083126826e-0001L,
95 96 +5.463024898437905132551794657802853544147e-0001L,
96 97 +5.667670655805864456801779441354759990792e-0001L,
97 98 +5.875973675914432213941588631578976895206e-0001L,
98 99 +6.088137403243807214124939743963768234939e-0001L,
99 100 +6.304376738358847668526114292997751740101e-0001L,
100 101 +6.524918979288079927238977365516267472227e-0001L,
101 102 +6.750004851442429076631779494777228720541e-0001L,
102 103 +6.979889636235992551497657233900136516119e-0001L,
103 104 +7.214844409909044199895178832795946639042e-0001L,
104 105 +7.455157405593919951361301646778137804617e-0001L,
105 106 +7.701135513442087050059836600527731975210e-0001L,
106 107 +7.953105935686741856456016917474183548089e-0001L,
107 108 +8.211418015898941219114239653747117425236e-0001L,
108 109 +8.476445264465526540907883088076187235513e-0001L,
109 110 +8.748587605544823495396719079321555572147e-0001L,
110 111 +9.028273874526735021961743652539763208464e-0001L,
111 112 +9.315964599440724611652027565739364074620e-0001L,
112 113 +9.612155104943704161853006259468735267385e-0001L,
113 114 +9.917378983632686802568573899299023560595e-0001L,
114 115 };
115 116
116 117 const long double _TBL_tanl_lo[] = {
117 118 +4.179214385976688849250979202972663542033e-0036L,
118 119 +1.201528446191025246839024650298397902579e-0035L,
119 120 +1.129323489449537738080901788756231977300e-0035L,
120 121 +2.140135278964936125815581758267649033136e-0037L,
121 122 +4.432205749300185001040819456988862684951e-0036L,
122 123 +6.136100978120132271332684207100740679906e-0036L,
123 124 -1.032553059579180849987395832156976613765e-0035L,
124 125 -3.160024259922437001215851404196652376871e-0037L,
125 126 +9.288062528988428190963791818336024913881e-0036L,
126 127 -7.446971695790644707546943119354167721612e-0036L,
127 128 -3.194115406765633171232961214385101074252e-0036L,
128 129 +8.636824101000271295925487212833770093090e-0036L,
129 130 +3.102272236726159152985822088441358430350e-0036L,
130 131 -5.851906473589368694487202441718008909753e-0036L,
131 132 +4.010022070137306925338504597897336002613e-0036L,
132 133 +1.037727706884673933875970874373462194321e-0035L,
133 134 -7.373234860421060505099033319601658081963e-0037L,
134 135 +1.012564187615243178899324943342662908733e-0035L,
135 136 -1.409372712725876553601555574139438939044e-0036L,
136 137 +8.378827024922767151362882309834645448153e-0036L,
137 138 +2.973824478467770877677465646013477493211e-0037L,
138 139 +5.400099398783906370270919848839276575083e-0036L,
139 140 -6.462512242458415498262723324973388658384e-0036L,
140 141 -2.322762023061318925750503642571013465985e-0035L,
141 142 -1.258955887171193954556521579215259847692e-0035L,
142 143 -2.320447955805179154521333495999564905899e-0035L,
143 144 -1.149012552345329193834437558081484346041e-0035L,
144 145 +1.452751817871169833623945031311944393871e-0035L,
145 146 +1.233520419884672519188849688498814953115e-0035L,
146 147 -2.801716058919562991500189219464456618491e-0036L,
147 148 -8.652310551710608096633992612270187537921e-0036L,
148 149 +1.247172716748407772564831128401880847054e-0035L,
149 150 -1.239704249638930213583929247314024560861e-0035L,
150 151 +5.184462988068616168233816296529150644737e-0036L,
151 152 -6.856476723415391305857531095744442523549e-0039L,
152 153 -9.739553531295433673398454344315039002245e-0036L,
153 154 +2.266233016492660661638292126777401538348e-0035L,
154 155 +2.301502770052376628347923621704562121797e-0035L,
155 156 +1.948845747336057051538318007442114995744e-0035L,
156 157 -1.940750389335608259363326370556914475278e-0035L,
157 158 +2.019644660873458215118483163076314703163e-0035L,
158 159 +1.602015812156905914821208807083062984550e-0035L,
159 160 -3.292416392515743374743236507806546284438e-0036L,
160 161 +8.663813942351672490328381271391704283086e-0036L,
161 162 +2.366609581506599084093910217277994736871e-0035L,
162 163 -1.408950063101056644039900854057776596620e-0035L,
163 164 -1.514769920962849077013113923603803573445e-0035L,
164 165 -2.261973795598615105449462443044330073903e-0035L,
165 166 -2.553211882172402068866429390071980923144e-0036L,
166 167 +1.416627029437126089675998257335033382140e-0035L,
167 168 +2.342724931714249133589230079809850869266e-0035L,
168 169 +1.710557978782419482731492281155256146438e-0036L,
169 170 -2.148837714938406737587489024152464642738e-0035L,
170 171 -4.273007541330408144086077695573950943351e-0035L,
171 172 -1.187512317830147119742251549090183099823e-0035L,
172 173 +4.828271743385077560204615670566277021463e-0036L,
173 174 +2.888285131340709127656514948635349311805e-0035L,
174 175 -4.505233085580329558684272075904471228864e-0035L,
175 176 +2.931630895327838681946984510160883959332e-0036L,
176 177 +2.647698485118630114484469975939947791390e-0035L,
177 178 +3.589320320845381187254017736531618320153e-0035L,
178 179 +3.109409548262590459351847474032415851843e-0035L,
179 180 +4.083234910839125531016836269706248922707e-0035L,
180 181 +2.617081426185972174278972738311427223003e-0035L,
181 182 +1.685638883876736468625598871602567025329e-0035L,
182 183 +3.340709007044122362174996515517070074049e-0035L,
183 184 +4.272448967674769643335827331513513914893e-0035L,
184 185 -1.016337077502454982949287784426587554312e-0035L,
185 186 -4.164820472415940877265629374001265181061e-0035L,
186 187 -1.266702907529482683855413412028523879313e-0035L,
187 188 -2.498295523749676738976415773050309926889e-0035L,
188 189 -2.240244888035701528565322302010524216607e-0035L,
189 190 +2.072673676633052237512344957839713494538e-0035L,
190 191 -5.635620575073849011607547314084511148918e-0036L,
191 192 +1.289773398786324444403985925780591709915e-0035L,
192 193 };
↓ open down ↓ |
158 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX