xref: /titanic_50/usr/src/lib/libm/common/Q/_TBL_expl.c (revision 25c28e83beb90e7c80452a7c818c5e6f73a07dc8)
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 expl.
32  * By K.C. Ng, March 9, 1989
33  */
34 
35 #include "libm.h"
36 
37 const long double _TBL_expl_hi[] = {
38 	+1.000000000000000000000000000000000000000e+0000L,
39 	+1.021897148654116678234480134783299439782e+0000L,
40 	+1.044273782427413840321966478739929008785e+0000L,
41 	+1.067140400676823618169521120992809162607e+0000L,
42 	+1.090507732665257659207010655760707978993e+0000L,
43 	+1.114386742595892536308812956919603067800e+0000L,
44 	+1.138788634756691653703830283841511254720e+0000L,
45 	+1.163724858777577513813573599092185312343e+0000L,
46 	+1.189207115002721066717499970560475915293e+0000L,
47 	+1.215247359980468878116520251338798457624e+0000L,
48 	+1.241857812073484048593677468726595605511e+0000L,
49 	+1.269050957191733222554419081032338004715e+0000L,
50 	+1.296839554651009665933754117792451159835e+0000L,
51 	+1.325236643159741294629537095498721674113e+0000L,
52 	+1.354255546936892728298014740140702804343e+0000L,
53 	+1.383909881963831954872659527265192818002e+0000L,
54 	+1.414213562373095048801688724209698078570e+0000L,
55 	+1.445180806977046620037006241471670905678e+0000L,
56 	+1.476826145939499311386907480374049923924e+0000L,
57 	+1.509164427593422739766019551033193531420e+0000L,
58 	+1.542210825407940823612291862090734841307e+0000L,
59 	+1.575980845107886486455270160181905008906e+0000L,
60 	+1.610490331949254308179520667357400583459e+0000L,
61 	+1.645755478153964844518756724725822445667e+0000L,
62 	+1.681792830507429086062250952466429790080e+0000L,
63 	+1.718619298122477915629344376456312504516e+0000L,
64 	+1.756252160373299483112160619375313221294e+0000L,
65 	+1.794709075003107186427703242127781814354e+0000L,
66 	+1.834008086409342463487083189588288856077e+0000L,
67 	+1.874167634110299901329998949954446534439e+0000L,
68 	+1.915206561397147293872611270295830887850e+0000L,
69 	+1.957144124175400269018322251626871491190e+0000L,
70 };
71 
72 const long double _TBL_expl_lo[] = {
73 	+0.000000000000000000000000000000000000000e+0000L,
74 	+1.805067874203309547455733330545737864651e-0035L,
75 	-9.374520292280427421957567419730832143843e-0035L,
76 	-1.596968447292758770712909630231499971233e-0035L,
77 	+9.112493410125022978511686101672486662119e-0035L,
78 	-6.504228206978548287230374775259388710985e-0035L,
79 	-8.148468844525851137325691767488155323605e-0035L,
80 	-5.066214576721800313372330745142903350963e-0035L,
81 	-1.359830974688816973749875638245919118924e-0035L,
82 	+9.497427635563196470307710566433246597109e-0035L,
83 	-3.283170523176998601615065965333915261932e-0036L,
84 	-5.017235709387190410290186530458428950862e-0035L,
85 	-2.391474797689109171622834301602640139258e-0035L,
86 	-8.350571357633908815298890737944083853080e-0036L,
87 	+7.036756889073265042421737190671876440729e-0035L,
88 	-5.182484853064646457536893018566956189817e-0035L,
89 	+9.422242548621832065692116736394064879758e-0035L,
90 	-3.967500825398862309167306130216418281103e-0035L,
91 	+7.143528991563300614523273615092767243521e-0035L,
92 	+1.159871252867985124246517834100444327747e-0035L,
93 	+4.696933478358115495309739213201874466685e-0035L,
94 	-3.386513175995004710799241984999819165197e-0035L,
95 	-8.587318774298247068868655935103874453522e-0035L,
96 	-9.605951548749350503185499362246069088835e-0035L,
97 	+9.609733932128012784507558697141785813655e-0035L,
98 	+6.378397921440028439244761449780848545957e-0035L,
99 	+7.792430785695864249456461125169277701177e-0035L,
100 	+7.361337767588456524131930836633932195088e-0035L,
101 	-6.472995147913347230035214575612170525266e-0035L,
102 	+8.587474417953698694278798062295229624207e-0035L,
103 	+2.371815422825174835691651228302690977951e-0035L,
104 	-3.026891682096118773004597373421900314256e-0037L,
105 };
106