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 atanl.
  32  * By K.C. Ng, March 9, 1989
  33  */
  34 
  35 #include "libm.h"
  36 
  37 const long double _TBL_atanl_hi[] = {
  38         +1.243549945467614350313548491638710241657e-0001L,
  39         +1.320397616146387492746844065265695322625e-0001L,
  40         +1.397088742891636451833677767390950568161e-0001L,
  41         +1.473614810886516356098027603968455182107e-0001L,
  42         +1.549967419239409823037143749334921913337e-0001L,
  43         +1.626138285979485753736415637615578006202e-0001L,
  44         +1.702119252854744044904966070997617136954e-0001L,
  45         +1.777902289926760707966247992158246889946e-0001L,
  46         +1.853479499956947648860259612285446466726e-0001L,
  47         +1.928843122579746641970587106902273034988e-0001L,
  48         +2.003985538258785146539457850343783844615e-0001L,
  49         +2.078899272022629936053349831029943247563e-0001L,
  50         +2.153576996977380480244596271664896416574e-0001L,
  51         +2.228011537593945157710321221404325552502e-0001L,
  52         +2.302195872768437302401709596798029906555e-0001L,
  53         +2.376123138654712524738836343256377791989e-0001L,
  54         +2.449786631268641541720824812112758064196e-0001L,
  55         +2.596296294082575310299464431839719056011e-0001L,
  56         +2.741674511196587975993718983421757859244e-0001L,
  57         +2.885873618940773956236114199582183450433e-0001L,
  58         +3.028848683749714055605560945055582181228e-0001L,
  59         +3.170557532091470098090155766744673297585e-0001L,
  60         +3.310960767041320949443387877569445542126e-0001L,
  61         +3.450021772071051088676812869000516840829e-0001L,
  62         +3.587706702705722203959200639264605221536e-0001L,
  63         +3.723984466767542219236550382837018264141e-0001L,
  64         +3.858826693980737758976954846072313963819e-0001L,
  65         +3.992207695752525656147166961588647649110e-0001L,
  66         +4.124104415973873068997912896671269426092e-0001L,
  67         +4.254496373700422895422636051807923301382e-0001L,
  68         +4.383365598579578054456160492147713089588e-0001L,
  69         +4.510696559885234763756392572821934407380e-0001L,
  70         +4.636476090008061162142562314612143971334e-0001L,
  71         +4.883339510564055238671649607470648445964e-0001L,
  72         +5.123894603107377066666010205842592380556e-0001L,
  73         +5.358112379604637002690850687076914469847e-0001L,
  74         +5.585993153435624359715082164016612287587e-0001L,
  75         +5.807563535676703992032744750015008237512e-0001L,
  76         +6.022873461349641816821226942042329192246e-0001L,
  77         +6.231993299340659309924753490603745936779e-0001L,
  78         +6.435011087932843868028092287173226044727e-0001L,
  79         +6.632029927060932553632543102382758341723e-0001L,
  80         +6.823165548747480782564299817111529878473e-0001L,
  81         +7.008544078844501724579512817867512731862e-0001L,
  82         +7.188299996216245054170141515259046989104e-0001L,
  83         +7.362574289814281317428352710891466247927e-0001L,
  84         +7.531512809621943895247393702690288860057e-0001L,
  85         +7.695264804056582604068200359856540172660e-0001L,
  86         +7.853981633974483096156608458198756993698e-0001L,
  87         +8.156919233162234110214608387456458267228e-0001L,
  88         +8.441539861131710025178441482716474673863e-0001L,
  89         +8.709034570756529531401731125978140729165e-0001L,
  90         +8.960553845713439561748007180299377954660e-0001L,
  91         +9.197196053504168172286034548210894096931e-0001L,
  92         +9.420000403794636647379371705345936211589e-0001L,
  93         +9.629943306809362018151958359970998967730e-0001L,
  94         +9.827937232473290679857106110146660376257e-0001L,
  95         +1.001483135694234732918329595301437489634e+0000L,
  96         +1.019141344266349734638342917023063621235e+0000L,
  97         +1.035841253008800176584694470325444073548e+0000L,
  98         +1.051650212548373667459867312086299902692e+0000L,
  99         +1.066630365315743563079176347420279908601e+0000L,
 100         +1.080839000541168310887156729217199785900e+0000L,
 101         +1.094328907321189919892788314610235276303e+0000L,
 102         +1.107148717794090503017065460178537049754e+0000L,
 103         +1.130953743979160446470933515536327756003e+0000L,
 104         +1.152571997215667518040149862612751467283e+0000L,
 105         +1.172273881128476386600594944133704600686e+0000L,
 106         +1.190289949682531732927733774829318280338e+0000L,
 107         +1.206817370285252530395511580056557662568e+0000L,
 108         +1.222025323210989637041741743922570412029e+0000L,
 109         +1.236059489478081941909451971109078614621e+0000L,
 110         +1.249045772398254425829917077281090048355e+0000L,
 111         +1.261093382252440419313940881247335764012e+0000L,
 112         +1.272297395208717341296193749822480574646e+0000L,
 113         +1.282740879744270747362885251136495516407e+0000L,
 114         +1.292496667789785267903091421407081672353e+0000L,
 115         +1.301628834009196143804785850366685502445e+0000L,
 116         +1.310193935047555634256437689171905343754e+0000L,
 117         +1.318242051016837049859330202327136304043e+0000L,
 118         +1.325817663668032465059239210428475688616e+0000L,
 119         +1.339705659598999539328303752589555785024e+0000L,
 120         +1.352127380920954657189147941389812759877e+0000L,
 121         +1.363300100359693954289298527825099156027e+0000L,
 122         +1.373400766945015860861271926444961060484e+0000L,
 123         +1.382574821490125858059967417768568516395e+0000L,
 124         +1.390942827002418348642768694383643239549e+0000L,
 125         +1.398605512271957595012670081611428272786e+0000L,
 126         +1.405647649380269780952193401995808066441e+0000L,
 127         +1.412141064608495215367613671858489085282e+0000L,
 128         +1.418146998399631459403860303970098863261e+0000L,
 129         +1.423717971406494118901819046610729710890e+0000L,
 130         +1.428899272190732696418470074537198400139e+0000L,
 131         +1.433730152484708986640471909669887388026e+0000L,
 132         +1.438244794498222597961404247935481603967e+0000L,
 133         +1.442473099109101820025292059937729181035e+0000L,
 134         +1.446441332248135184199966842475880386611e+0000L,
 135 };
 136 
 137 const long double _TBL_atanl_lo[] = {
 138         +1.407486919762806380231720282041430859065e-0036L,
 139         -4.959696159473992555573043943799966949987e-0036L,
 140         +8.952774562519464887393121344636183788152e-0036L,
 141         +1.188043742320789571818076584354496443030e-0035L,
 142         -2.781027811204514537842537512823435451463e-0037L,
 143         +1.479722037702380032729553623431514726239e-0036L,
 144         -4.216956140054819873287038480184963406819e-0036L,
 145         +7.243122966691348464993032365631602349468e-0036L,
 146         -2.157343008983917029989567935379065159119e-0036L,
 147         -9.951574540512672355445236729812860518631e-0036L,
 148         -3.906555899232483818161756973039787656743e-0036L,
 149         +5.526029227179372681321198066466113031444e-0036L,
 150         +8.841572221591432180768225431803645204369e-0036L,
 151         -8.176772879158617925419332362828558820944e-0036L,
 152         -1.334412303465614224379711382302833876421e-0036L,
 153         -4.492733120781338290893073392468132589219e-0036L,
 154         +4.494551147181249039320182433676250148336e-0036L,
 155         -1.668808150427922355577672445964844056727e-0035L,
 156         +1.562975758610795576946108656893732968411e-0035L,
 157         -2.238983556330807855250797038533151084811e-0035L,
 158         -4.831232174554731155187045067118216295832e-0036L,
 159         -1.433617235290583287695892661098069884431e-0035L,
 160         -8.744018199889993280298917417096058172481e-0036L,
 161         +5.928463600852983744578036078546455593865e-0036L,
 162         -2.237665124843624127606105529504351499363e-0035L,
 163         +6.074583759933610541428031075667744213648e-0036L,
 164         +1.537218711045194967779234476202996702309e-0035L,
 165         +2.097606805675115624165712158247879024716e-0035L,
 166         -5.562395640549543806072686220262281911497e-0036L,
 167         +1.969736670783247184185841193489735190152e-0035L,
 168         +2.107031196447948850903473363942488754370e-0035L,
 169         -2.302735636298200160225651851085422984456e-0035L,
 170         +4.895096422573334926686184352202977056848e-0036L,
 171         -7.238014347779445821387272305082026475766e-0036L,
 172         +1.636564886570361403163744339604956885811e-0035L,
 173         -3.988581195823453079372912991980323419740e-0035L,
 174         +4.158772212091261351041778392322742597344e-0035L,
 175         +3.834742145455647215368468737733713502739e-0035L,
 176         -9.225117893363872172351589646548899090659e-0036L,
 177         +1.409461969045598952617573674185465039654e-0036L,
 178         +3.356885780547223527061285142581080367945e-0035L,
 179         +3.909099105552255239501810680323211880340e-0035L,
 180         +5.295641697965420814052186270729703965359e-0036L,
 181         -5.096084681994551436784706392366250713672e-0036L,
 182         -4.495901442527761585832968039391831520500e-0035L,
 183         +3.803922654455163426656685761596261429034e-0035L,
 184         -4.405652287289551210830864219661168965762e-0036L,
 185         +1.602502419248216107622380775342561907695e-0036L,
 186         +2.167952532530945256199261006510838063526e-0035L,
 187         +1.984403801351542212571536292573675410407e-0035L,
 188         +3.913961947179974683450522735356843245724e-0035L,
 189         +2.111344380797545350551845343679956185473e-0035L,
 190         +3.155855727744469275503981694439277018543e-0035L,
 191         +1.629504452035546140826558561950023833561e-0035L,
 192         -3.508724520927030585615123035617120894580e-0035L,
 193         +2.904104186428285567959105527094611730009e-0035L,
 194         -2.312884345381835659093199520980662723328e-0035L,
 195         -7.712492318147157843996797382071597987481e-0035L,
 196         +2.753902782988692242909206359044995381933e-0035L,
 197         -9.450089945318130895108454599083752773445e-0035L,
 198         -7.306175530203209233759494600164318159101e-0035L,
 199         -4.173614481395375219395277015740431906643e-0035L,
 200         +3.436994835625640704534485526286425749647e-0035L,
 201         -6.379024349229809090730208492427563489748e-0035L,
 202         -9.684294381635326129100412786609400488464e-0036L,
 203         +4.874675753913887090927595832669806057728e-0035L,
 204         -8.753388647708419088451160136858547852751e-0035L,
 205         +1.428474399232791889269255113808220484160e-0035L,
 206         +5.726277621107338954256562569347449057228e-0035L,
 207         -3.225488314878041124559482227075035491317e-0035L,
 208         +7.885354819060987732596552525237673513561e-0035L,
 209         +8.408173673903719409751503836536882928318e-0035L,
 210         +7.472287035756368381507824298193454239425e-0035L,
 211         +7.997720282579343528943481360087007043974e-0036L,
 212         -8.057784077336213905484849234629395332153e-0035L,
 213         +1.421774675367058306549004020905308580426e-0035L,
 214         +1.223248691422120500410974356032312699327e-0035L,
 215         +8.969605507083003644736195721794664042146e-0035L,
 216         -3.148039443508188441068606673984936704609e-0035L,
 217         -5.092714604071534501324064251761157116236e-0035L,
 218         -5.743199771592413656813385943270585886166e-0035L,
 219         -4.392045140508377027909976608047950844300e-0035L,
 220         +9.110675398490771556301866677631321964372e-0035L,
 221         -3.703256901427284100951240077306435653503e-0035L,
 222         +8.816741942974671427690982540513176913907e-0035L,
 223         -3.838934169602835250375231286170331051923e-0036L,
 224         -3.346295934196089154634089550801425121335e-0035L,
 225         -3.921262677678607438391618849895555508099e-0035L,
 226         -7.834039739637786725586449456859141775022e-0035L,
 227         +7.468101863245698652060064034062436100558e-0035L,
 228         +8.911091861895691845113559487616548179839e-0035L,
 229         +3.941816063227189053043179714566870857491e-0035L,
 230         -4.104811408858010482019343563832718161219e-0035L,
 231         -2.316541945158215332638394475622094450115e-0035L,
 232         -1.842831258152531940939933020370545982007e-0035L,
 233         +7.147731654670948234541171201790940212220e-0035L,
 234         +2.991450157843587466215363770701953452571e-0035L,
 235 };