annotate src/share/native/sun/security/ec/impl/logtab.h @ 3909:272483f6650b

7033660: Update copyright year to 2011 on any files changed in 2011 Reviewed-by: dholmes
author ohair
date Wed, 06 Apr 2011 22:06:11 -0700
parents 1b5c838b8db8
children b49a0af85821
rev   line source
vinnie@1674 1 /* *********************************************************************
vinnie@1674 2 *
vinnie@1674 3 * Sun elects to have this file available under and governed by the
vinnie@1674 4 * Mozilla Public License Version 1.1 ("MPL") (see
vinnie@1674 5 * http://www.mozilla.org/MPL/ for full license text). For the avoidance
vinnie@1674 6 * of doubt and subject to the following, Sun also elects to allow
vinnie@1674 7 * licensees to use this file under the MPL, the GNU General Public
vinnie@1674 8 * License version 2 only or the Lesser General Public License version
vinnie@1674 9 * 2.1 only. Any references to the "GNU General Public License version 2
vinnie@1674 10 * or later" or "GPL" in the following shall be construed to mean the
vinnie@1674 11 * GNU General Public License version 2 only. Any references to the "GNU
vinnie@1674 12 * Lesser General Public License version 2.1 or later" or "LGPL" in the
vinnie@1674 13 * following shall be construed to mean the GNU Lesser General Public
vinnie@1674 14 * License version 2.1 only. However, the following notice accompanied
vinnie@1674 15 * the original version of this file:
vinnie@1674 16 *
vinnie@1674 17 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
vinnie@1674 18 *
vinnie@1674 19 * The contents of this file are subject to the Mozilla Public License Version
vinnie@1674 20 * 1.1 (the "License"); you may not use this file except in compliance with
vinnie@1674 21 * the License. You may obtain a copy of the License at
vinnie@1674 22 * http://www.mozilla.org/MPL/
vinnie@1674 23 *
vinnie@1674 24 * Software distributed under the License is distributed on an "AS IS" basis,
vinnie@1674 25 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
vinnie@1674 26 * for the specific language governing rights and limitations under the
vinnie@1674 27 * License.
vinnie@1674 28 *
vinnie@1674 29 * The Original Code is the Netscape security libraries.
vinnie@1674 30 *
vinnie@1674 31 * The Initial Developer of the Original Code is
vinnie@1674 32 * Netscape Communications Corporation.
vinnie@1674 33 * Portions created by the Initial Developer are Copyright (C) 1994-2000
vinnie@1674 34 * the Initial Developer. All Rights Reserved.
vinnie@1674 35 *
vinnie@1674 36 * Contributor(s):
vinnie@1674 37 * Dr Vipul Gupta <vipul.gupta@sun.com>, Sun Microsystems Laboratories
vinnie@1674 38 *
vinnie@1674 39 * Alternatively, the contents of this file may be used under the terms of
vinnie@1674 40 * either the GNU General Public License Version 2 or later (the "GPL"), or
vinnie@1674 41 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
vinnie@1674 42 * in which case the provisions of the GPL or the LGPL are applicable instead
vinnie@1674 43 * of those above. If you wish to allow use of your version of this file only
vinnie@1674 44 * under the terms of either the GPL or the LGPL, and not to allow others to
vinnie@1674 45 * use your version of this file under the terms of the MPL, indicate your
vinnie@1674 46 * decision by deleting the provisions above and replace them with the notice
vinnie@1674 47 * and other provisions required by the GPL or the LGPL. If you do not delete
vinnie@1674 48 * the provisions above, a recipient may use your version of this file under
vinnie@1674 49 * the terms of any one of the MPL, the GPL or the LGPL.
vinnie@1674 50 *
vinnie@1674 51 *********************************************************************** */
vinnie@1674 52 /*
ohair@3909 53 * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
vinnie@1674 54 * Use is subject to license terms.
vinnie@1674 55 */
vinnie@1674 56
vinnie@1674 57 #ifndef _LOGTAB_H
vinnie@1674 58 #define _LOGTAB_H
vinnie@1674 59
vinnie@1674 60 const float s_logv_2[] = {
vinnie@1674 61 0.000000000f, 0.000000000f, 1.000000000f, 0.630929754f, /* 0 1 2 3 */
vinnie@1674 62 0.500000000f, 0.430676558f, 0.386852807f, 0.356207187f, /* 4 5 6 7 */
vinnie@1674 63 0.333333333f, 0.315464877f, 0.301029996f, 0.289064826f, /* 8 9 10 11 */
vinnie@1674 64 0.278942946f, 0.270238154f, 0.262649535f, 0.255958025f, /* 12 13 14 15 */
vinnie@1674 65 0.250000000f, 0.244650542f, 0.239812467f, 0.235408913f, /* 16 17 18 19 */
vinnie@1674 66 0.231378213f, 0.227670249f, 0.224243824f, 0.221064729f, /* 20 21 22 23 */
vinnie@1674 67 0.218104292f, 0.215338279f, 0.212746054f, 0.210309918f, /* 24 25 26 27 */
vinnie@1674 68 0.208014598f, 0.205846832f, 0.203795047f, 0.201849087f, /* 28 29 30 31 */
vinnie@1674 69 0.200000000f, 0.198239863f, 0.196561632f, 0.194959022f, /* 32 33 34 35 */
vinnie@1674 70 0.193426404f, 0.191958720f, 0.190551412f, 0.189200360f, /* 36 37 38 39 */
vinnie@1674 71 0.187901825f, 0.186652411f, 0.185449023f, 0.184288833f, /* 40 41 42 43 */
vinnie@1674 72 0.183169251f, 0.182087900f, 0.181042597f, 0.180031327f, /* 44 45 46 47 */
vinnie@1674 73 0.179052232f, 0.178103594f, 0.177183820f, 0.176291434f, /* 48 49 50 51 */
vinnie@1674 74 0.175425064f, 0.174583430f, 0.173765343f, 0.172969690f, /* 52 53 54 55 */
vinnie@1674 75 0.172195434f, 0.171441601f, 0.170707280f, 0.169991616f, /* 56 57 58 59 */
vinnie@1674 76 0.169293808f, 0.168613099f, 0.167948779f, 0.167300179f, /* 60 61 62 63 */
vinnie@1674 77 0.166666667f
vinnie@1674 78 };
vinnie@1674 79
vinnie@1674 80 #endif /* _LOGTAB_H */