xref: /illumos-gate/usr/src/common/mpi/logtab.h (revision c40a6cd7)
1*f9fbec18Smcpowers /* ***** BEGIN LICENSE BLOCK *****
2*f9fbec18Smcpowers  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3*f9fbec18Smcpowers  *
4*f9fbec18Smcpowers  * The contents of this file are subject to the Mozilla Public License Version
5*f9fbec18Smcpowers  * 1.1 (the "License"); you may not use this file except in compliance with
6*f9fbec18Smcpowers  * the License. You may obtain a copy of the License at
7*f9fbec18Smcpowers  * http://www.mozilla.org/MPL/
8*f9fbec18Smcpowers  *
9*f9fbec18Smcpowers  * Software distributed under the License is distributed on an "AS IS" basis,
10*f9fbec18Smcpowers  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11*f9fbec18Smcpowers  * for the specific language governing rights and limitations under the
12*f9fbec18Smcpowers  * License.
13*f9fbec18Smcpowers  *
14*f9fbec18Smcpowers  * The Original Code is the Netscape security libraries.
15*f9fbec18Smcpowers  *
16*f9fbec18Smcpowers  * The Initial Developer of the Original Code is
17*f9fbec18Smcpowers  * Netscape Communications Corporation.
18*f9fbec18Smcpowers  * Portions created by the Initial Developer are Copyright (C) 1994-2000
19*f9fbec18Smcpowers  * the Initial Developer. All Rights Reserved.
20*f9fbec18Smcpowers  *
21*f9fbec18Smcpowers  * Contributor(s):
22*f9fbec18Smcpowers  *   Dr Vipul Gupta <vipul.gupta@sun.com>, Sun Microsystems Laboratories
23*f9fbec18Smcpowers  *
24*f9fbec18Smcpowers  * Alternatively, the contents of this file may be used under the terms of
25*f9fbec18Smcpowers  * either the GNU General Public License Version 2 or later (the "GPL"), or
26*f9fbec18Smcpowers  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27*f9fbec18Smcpowers  * in which case the provisions of the GPL or the LGPL are applicable instead
28*f9fbec18Smcpowers  * of those above. If you wish to allow use of your version of this file only
29*f9fbec18Smcpowers  * under the terms of either the GPL or the LGPL, and not to allow others to
30*f9fbec18Smcpowers  * use your version of this file under the terms of the MPL, indicate your
31*f9fbec18Smcpowers  * decision by deleting the provisions above and replace them with the notice
32*f9fbec18Smcpowers  * and other provisions required by the GPL or the LGPL. If you do not delete
33*f9fbec18Smcpowers  * the provisions above, a recipient may use your version of this file under
34*f9fbec18Smcpowers  * the terms of any one of the MPL, the GPL or the LGPL.
35*f9fbec18Smcpowers  *
36*f9fbec18Smcpowers  * ***** END LICENSE BLOCK ***** */
37*f9fbec18Smcpowers /*
38*f9fbec18Smcpowers  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
39*f9fbec18Smcpowers  * Use is subject to license terms.
40*f9fbec18Smcpowers  *
41*f9fbec18Smcpowers  * Sun elects to use this software under the MPL license.
42*f9fbec18Smcpowers  */
43*f9fbec18Smcpowers 
44*f9fbec18Smcpowers #ifndef _LOGTAB_H
45*f9fbec18Smcpowers #define _LOGTAB_H
46*f9fbec18Smcpowers 
47*f9fbec18Smcpowers const float s_logv_2[] = {
48*f9fbec18Smcpowers    0.000000000f, 0.000000000f, 1.000000000f, 0.630929754f,  /*  0  1  2  3 */
49*f9fbec18Smcpowers    0.500000000f, 0.430676558f, 0.386852807f, 0.356207187f,  /*  4  5  6  7 */
50*f9fbec18Smcpowers    0.333333333f, 0.315464877f, 0.301029996f, 0.289064826f,  /*  8  9 10 11 */
51*f9fbec18Smcpowers    0.278942946f, 0.270238154f, 0.262649535f, 0.255958025f,  /* 12 13 14 15 */
52*f9fbec18Smcpowers    0.250000000f, 0.244650542f, 0.239812467f, 0.235408913f,  /* 16 17 18 19 */
53*f9fbec18Smcpowers    0.231378213f, 0.227670249f, 0.224243824f, 0.221064729f,  /* 20 21 22 23 */
54*f9fbec18Smcpowers    0.218104292f, 0.215338279f, 0.212746054f, 0.210309918f,  /* 24 25 26 27 */
55*f9fbec18Smcpowers    0.208014598f, 0.205846832f, 0.203795047f, 0.201849087f,  /* 28 29 30 31 */
56*f9fbec18Smcpowers    0.200000000f, 0.198239863f, 0.196561632f, 0.194959022f,  /* 32 33 34 35 */
57*f9fbec18Smcpowers    0.193426404f, 0.191958720f, 0.190551412f, 0.189200360f,  /* 36 37 38 39 */
58*f9fbec18Smcpowers    0.187901825f, 0.186652411f, 0.185449023f, 0.184288833f,  /* 40 41 42 43 */
59*f9fbec18Smcpowers    0.183169251f, 0.182087900f, 0.181042597f, 0.180031327f,  /* 44 45 46 47 */
60*f9fbec18Smcpowers    0.179052232f, 0.178103594f, 0.177183820f, 0.176291434f,  /* 48 49 50 51 */
61*f9fbec18Smcpowers    0.175425064f, 0.174583430f, 0.173765343f, 0.172969690f,  /* 52 53 54 55 */
62*f9fbec18Smcpowers    0.172195434f, 0.171441601f, 0.170707280f, 0.169991616f,  /* 56 57 58 59 */
63*f9fbec18Smcpowers    0.169293808f, 0.168613099f, 0.167948779f, 0.167300179f,  /* 60 61 62 63 */
64*f9fbec18Smcpowers    0.166666667f
65*f9fbec18Smcpowers };
66*f9fbec18Smcpowers 
67*f9fbec18Smcpowers #endif /* _LOGTAB_H */
68