xref: /illumos-gate/usr/src/lib/libm/common/Q/_TBL_logl.c (revision 8808ac5dae118369991f158b6ab736cb2691ecde)
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 /*
31  * Table of constants for logl.
32  * By K.C. Ng, March 9, 1989
33  */
34 
35 #include "libm.h"
36 
37 const long double _TBL_logl_hi[] = {
38 	+0.000000000000000000000000000000000000000e+0000L,
39 	+1.550418653596525415085404409320395875274e-0002L,
40 	+3.077165866675368837102820454313423549427e-0002L,
41 	+4.580953603129420316667926449525231301634e-0002L,
42 	+6.062462181643484258060612972483742997442e-0002L,
43 	+7.522342123758752569860532039086827578824e-0002L,
44 	+8.961215868968713261995143730528787027578e-0002L,
45 	+1.037967936816435648260617694803438348244e-0001L,
46 	+1.177830356563834545387940581504548168563e-0001L,
47 	+1.315763577887192725887160624312135596698e-0001L,
48 	+1.451820098444978972819350572286183123887e-0001L,
49 	+1.586050301766385840933711683530052981349e-0001L,
50 	+1.718502569266592223400988812516892523599e-0001L,
51 	+1.849223384940119926639035059723077314615e-0001L,
52 	+1.978257433299198803625720374533782925763e-0001L,
53 	+2.105647691073496376695527531626088702497e-0001L,
54 	+2.231435513142097557662949937027997104032e-0001L,
55 	+2.355660713127669090775881163009096337126e-0001L,
56 	+2.478361639045812567806026867952720081699e-0001L,
57 	+2.599575244369260669720794933085231739065e-0001L,
58 	+2.719337154836417588316694242031136685288e-0001L,
59 	+2.837681731306445983469010458794547135312e-0001L,
60 	+2.954642128938358763866817700916107535002e-0001L,
61 	+3.070250352949118620751243666552419834311e-0001L,
62 	+3.184537311185346158102471140686078561531e-0001L,
63 	+3.297532863724679818144228014362478784488e-0001L,
64 	+3.409265869705932103050890001544662426952e-0001L,
65 	+3.519764231571781846554474552048254288130e-0001L,
66 	+3.629054936893684531378242945398272521523e-0001L,
67 	+3.737164097935840808210167331226757525499e-0001L,
68 	+3.844116989103320397347900487369508110320e-0001L,
69 	+3.949938082408689781063939783520655318915e-0001L,
70 	+4.054651081081643819780130322994137932204e-0001L,
71 	+4.158278951437109656133288259511744826605e-0001L,
72 	+4.260843953109000631245447385569842356371e-0001L,
73 	+4.362367667749180703490412239178509575736e-0001L,
74 	+4.462871026284195115325899874055994208063e-0001L,
75 	+4.562374334815875943808053840818705719756e-0001L,
76 	+4.660897299245992245586191878736453654769e-0001L,
77 	+4.758459048699639142652093893677655824436e-0001L,
78 	+4.855078157817008078017910633011255535046e-0001L,
79 	+4.950772667978515145979645213034899480604e-0001L,
80 	+5.045560107523952870583081828817948816463e-0001L,
81 	+5.139457511022343168010058668287669524912e-0001L,
82 	+5.232481437645478365168069353535037563840e-0001L,
83 	+5.324647988694718438739234379583263151144e-0001L,
84 	+5.415972824327443715765422111689841356847e-0001L,
85 	+5.506471179526622792599479861304555364807e-0001L,
86 	+5.596157879354226862708883466532843603287e-0001L,
87 	+5.685047353526687120787385804082945993734e-0001L,
88 	+5.773153650348236043181117067559499073234e-0001L,
89 	+5.860490450035782089041193916402035316840e-0001L,
90 	+5.947071077466927895143434959005658134879e-0001L,
91 	+6.032908514380842623405849663552155166682e-0001L,
92 	+6.118015411059929035298897608882125523626e-0001L,
93 	+6.202404097518575288514942954323627943283e-0001L,
94 	+6.286086594223741377443081293997900727520e-0001L,
95 	+6.369074622370692316204942281372157123062e-0001L,
96 	+6.451379613735847016652282983340864160916e-0001L,
97 	+6.533012720127456387586157190946858013903e-0001L,
98 	+6.613984822453650082602354487776933060928e-0001L,
99 	+6.694306539426292672988850845059757003379e-0001L,
100 	+6.773988235918061408096824565025274617492e-0001L,
101 	+6.853040030989194165440476699956951850629e-0001L,
102 };
103 
104 const long double _TBL_logl_lo[] = {
105 	+0.000000000000000000000000000000000000000e+0000L,
106 	+1.949242877125126389030374148355277037360e-0027L,
107 	+3.053637928597425156289800058830629052349e-0027L,
108 	+3.119411029097592549724599219796579698355e-0027L,
109 	+2.315582833311779694729302029874044004747e-0027L,
110 	+1.959279413884862919696230642481001644914e-0026L,
111 	+3.207319665850940689112590931321584585232e-0026L,
112 	+3.428363085348215886901240200560690191423e-0026L,
113 	+5.132006688821218644279793035639158591104e-0026L,
114 	+6.625826960278191623061313902987136675670e-0026L,
115 	+6.511946011133829904478213998927380817716e-0027L,
116 	+6.272836277110805877048126233548710095828e-0027L,
117 	+6.480345801257546326311423010001184801374e-0026L,
118 	+8.668694188954430256018491855337005516255e-0026L,
119 	+3.374358317649896753533582921130800923337e-0026L,
120 	+5.956974264347082186429247944518667757530e-0026L,
121 	+9.660703479297144864941461785565180191497e-0026L,
122 	+1.026401337764243728855958607127831718221e-0025L,
123 	+7.895125273982903351541822547625351974082e-0026L,
124 	+1.233787870669833985274611329531652753861e-0027L,
125 	+7.032988549345377674736424478296516377526e-0026L,
126 	+1.764708000531295728633384847670848625081e-0025L,
127 	+1.359633534416813878749988462341486606257e-0025L,
128 	+1.738801359182578816100029030519562527565e-0025L,
129 	+9.952199173944211463901058384143333287734e-0026L,
130 	+1.048454193250289008158931842356333139861e-0026L,
131 	+1.996258899657478647716755914664160562170e-0025L,
132 	+1.054613497176328160439100383508915283893e-0027L,
133 	+5.143766259398803158035428613944687700657e-0026L,
134 	+9.959314775409457843445608446369116918733e-0026L,
135 	+1.374434005748650164937032849496159512584e-0026L,
136 	+5.801291623641845255360276144691829323298e-0026L,
137 	+8.316493534335158882618991007102844149005e-0026L,
138 	+6.700372782269538472749252935215499311080e-0026L,
139 	+1.410384923832595967313936024639114199873e-0025L,
140 	+9.914327034309007140234547094345224044051e-0026L,
141 	+1.932140695859428972988292357113036038299e-0025L,
142 	+1.540820591764623257530922632028001952748e-0025L,
143 	+5.963112403438125368118769047371614538741e-0026L,
144 	+1.969366158297316138140115855981754471320e-0025L,
145 	+1.388966334707414023926476567157219393213e-0026L,
146 	+6.353934371729676603785277612987160899450e-0026L,
147 	+3.488563800483361999633395030516586696799e-0025L,
148 	+2.214454506406188993139159148705861598088e-0025L,
149 	+2.895813670852564643073769701905380524878e-0025L,
150 	+2.855018159274929532107406110765900047355e-0025L,
151 	+9.273144996328510392949911518833977809658e-0026L,
152 	+1.930744579236138780895942105787011752697e-0025L,
153 	+1.538735422331574088102192677519746877453e-0025L,
154 	+1.844586676642028985383989272409206538468e-0025L,
155 	+3.547635464941839708071563131885310128521e-0025L,
156 	+4.464712081783102087084281748635332222581e-0026L,
157 	+5.062863951970459495500575300347508324877e-0026L,
158 	+2.203060950889790157204518257910818074191e-0025L,
159 	+5.540602231323196163388428517126435254723e-0027L,
160 	+3.371348840624439923830692211721531149909e-0025L,
161 	+7.637439356719457811667844141793488670929e-0026L,
162 	+1.990439834788842292780211676828666657547e-0025L,
163 	+1.978006454898465493718923085569873769719e-0025L,
164 	+1.621161880831806223416081355472819612309e-0025L,
165 	+3.899319576320551292151632804501913965920e-0025L,
166 	+1.864235278097858865893177670582100390924e-0025L,
167 	+1.534948208368053655735541548539936152221e-0025L,
168 	+4.089715378013580174759550633443176148182e-0025L,
169 };
170