[BACK]Return to prime.h CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2018 / include

Annotation of OpenXM_contrib2/asir2018/include/prime.h, Revision 1.1

1.1     ! noro        1: /*
        !             2:  * Copyright (c) 1994-2000 FUJITSU LABORATORIES LIMITED
        !             3:  * All rights reserved.
        !             4:  *
        !             5:  * FUJITSU LABORATORIES LIMITED ("FLL") hereby grants you a limited,
        !             6:  * non-exclusive and royalty-free license to use, copy, modify and
        !             7:  * redistribute, solely for non-commercial and non-profit purposes, the
        !             8:  * computer program, "Risa/Asir" ("SOFTWARE"), subject to the terms and
        !             9:  * conditions of this Agreement. For the avoidance of doubt, you acquire
        !            10:  * only a limited right to use the SOFTWARE hereunder, and FLL or any
        !            11:  * third party developer retains all rights, including but not limited to
        !            12:  * copyrights, in and to the SOFTWARE.
        !            13:  *
        !            14:  * (1) FLL does not grant you a license in any way for commercial
        !            15:  * purposes. You may use the SOFTWARE only for non-commercial and
        !            16:  * non-profit purposes only, such as academic, research and internal
        !            17:  * business use.
        !            18:  * (2) The SOFTWARE is protected by the Copyright Law of Japan and
        !            19:  * international copyright treaties. If you make copies of the SOFTWARE,
        !            20:  * with or without modification, as permitted hereunder, you shall affix
        !            21:  * to all such copies of the SOFTWARE the above copyright notice.
        !            22:  * (3) An explicit reference to this SOFTWARE and its copyright owner
        !            23:  * shall be made on your publication or presentation in any form of the
        !            24:  * results obtained by use of the SOFTWARE.
        !            25:  * (4) In the event that you modify the SOFTWARE, you shall notify FLL by
        !            26:  * e-mail at risa-admin@sec.flab.fujitsu.co.jp of the detailed specification
        !            27:  * for such modification or the source code of the modified part of the
        !            28:  * SOFTWARE.
        !            29:  *
        !            30:  * THE SOFTWARE IS PROVIDED AS IS WITHOUT ANY WARRANTY OF ANY KIND. FLL
        !            31:  * MAKES ABSOLUTELY NO WARRANTIES, EXPRESSED, IMPLIED OR STATUTORY, AND
        !            32:  * EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS
        !            33:  * FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT OF THIRD PARTIES'
        !            34:  * RIGHTS. NO FLL DEALER, AGENT, EMPLOYEES IS AUTHORIZED TO MAKE ANY
        !            35:  * MODIFICATIONS, EXTENSIONS, OR ADDITIONS TO THIS WARRANTY.
        !            36:  * UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, TORT, CONTRACT,
        !            37:  * OR OTHERWISE, SHALL FLL BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY
        !            38:  * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL
        !            39:  * DAMAGES OF ANY CHARACTER, INCLUDING, WITHOUT LIMITATION, DAMAGES
        !            40:  * ARISING OUT OF OR RELATING TO THE SOFTWARE OR THIS AGREEMENT, DAMAGES
        !            41:  * FOR LOSS OF GOODWILL, WORK STOPPAGE, OR LOSS OF DATA, OR FOR ANY
        !            42:  * DAMAGES, EVEN IF FLL SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF
        !            43:  * SUCH DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY. EVEN IF A PART
        !            44:  * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY
        !            45:  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
        !            46:  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
        !            47:  *
        !            48:  * $OpenXM$
        !            49: */
        !            50: #if defined(__GNUC__)
        !            51: const
        !            52: #endif
        !            53: int lprime_init[] = {
        !            54:   99999989,99999971,99999959,99999941,99999931,99999847,99999839,99999827,99999821,99999787,
        !            55:   99999773,99999721,99999703,99999677,99999643,99999623,99999617,99999611,99999589,99999587,
        !            56:   99999563,99999551,99999547,99999541,99999539,99999517,99999509,99999481,99999439,99999437,
        !            57:   99999401,99999373,99999353,99999343,99999329,99999323,99999307,99999259,99999257,99999247,
        !            58:   99999217,99999187,99999167,99999157,99999131,99999113,99999103,99999089,99999079,99999077,
        !            59:   99999073,99999043,99998999,99998971,99998953,99998933,99998929,99998909,99998891,99998869,
        !            60:   99998851,99998819,99998797,99998783,99998749,99998663,99998611,99998609,99998603,99998557,
        !            61:   99998551,99998543,99998513,99998497,99998491,99998473,99998449,99998447,99998441,99998429,
        !            62:   99998417,99998413,99998377,99998363,99998357,99998323,99998299,99998291,99998257,99998251,
        !            63:   99998231,99998207,99998191,99998147,99998111,99998099,99998071,99998051,99998021,99997981,
        !            64:   99997973,99997957,99997949,99997913,99997907,99997901,99997897,99997879,99997873,99997871,
        !            65:   99997867,99997841,99997837,99997789,99997783,99997769,99997759,99997691,99997687,99997679,
        !            66:   99997669,99997649,99997619,99997609,99997571,99997543,99997531,99997523,99997511,99997493,
        !            67:   99997459,99997441,99997427,99997411,99997393,99997369,99997367,99997357,99997267,99997243,
        !            68:   99997189,99997187,99997159,99997151,99997129,99997127,99997081,99997069,99997067,99997063,
        !            69:   99997033,99996983,99996971,99996947,99996931,99996899,99996863,99996833,99996821,99996803,
        !            70:   99996797,99996779,99996769,99996749,99996719,99996697,99996691,99996679,99996671,99996667,
        !            71:   99996653,99996647,99996619,99996583,99996577,99996551,99996521,99996517,99996511,99996509,
        !            72:   99996473,99996419,99996409,99996389,99996353,99996343,99996317,99996293,99996287,99996271,
        !            73:   99996257,99996251,99996241,99996229,99996191,99996181,99996179,99996151,99996139,99996133,
        !            74:   99996131,99996121,99996097,99996079,99996077,99996059,99996011,99995999,99995983,99995957,
        !            75:   99995939,99995933,99995923,99995899,99995893,99995891,99995869,99995851,99995839,99995813,
        !            76:   99995807,99995783,99995771,99995767,99995747,99995723,99995711,99995699,99995681,99995671,
        !            77:   99995669,99995663,99995647,99995641,99995629,99995603,99995591,99995573,99995569,99995563,
        !            78:   99995551,99995549,99995527,99995507,99995453,99995417,99995407,99995317,99995303,99995297,
        !            79:   99995281,99995279,99995267,99995261,99995257,99995249,99995227,99995213,99995209,99995197,
        !            80:   99995177,99995171,99995113,99995111,99995087,99995059,99995041,99995039,99995011,99994963,
        !            81:   99994919,99994907,99994883,99994877,99994861,99994849,99994819,99994801,99994771,99994759,
        !            82:   99994751,99994723,99994711,99994703,99994691,99994679,99994673,99994669,99994637,99994633,
        !            83:   99994621,99994607,99994579,99994571,99994567,99994553,99994481,99994471,99994379,99994373,
        !            84:   99994361,99994327,99994319,99994309,99994277,99994273,99994267,99994253,99994231,99994229,
        !            85:   99994211,99994201,99994183,99994177,99994157,99994129,99994123,99994079,99994073,99994061,
        !            86:   99994043,99994021,99994009,99993997,99993991,99993947,99993923,99993917,99993911,99993893,
        !            87:   99993889,99993841,99993833,99993821,99993799,99993787,99993781,99993767,99993743,99993679,
        !            88:   99993671,99993611,99993601,99993583,99993527,99993511,99993497,99993469,99993463,99993461,
        !            89:   99993449,99993433,99993427,99993419,99993407,99993359,99993349,99993343,99993331,99993329,
        !            90:   99993317,99993287,99993281,99993263,99993253,99993211,99993199,99993193,99993169,99993163,
        !            91:   99993161,99993119,99993109,99993097,99993071,99993053,99993001,99992993,99992947,99992941,
        !            92:   99992939,99992917,99992911,99992903,99992897,99992869,99992843,99992831,99992813,99992807,
        !            93:   99992803,99992797,99992791,99992777,99992773,99992771,99992747,99992681,99992671,99992617,
        !            94:   99992539,99992533,99992527,99992509,99992483,99992471,99992467,99992461,99992449,99992447,
        !            95:   99992437,99992429,99992413,99992401,99992381,99992363,99992311,99992309,99992303,99992251,
        !            96:   99992239,99992219,99992213,99992209,99992173,99992161,99992149,99992141,99992119,99992099,
        !            97:   99992089,99992059,99992051,99992027,99991999,99991987,99991981,99991951,99991937,99991933,
        !            98:   99991901,99991897,99991891,99991877,99991831,99991819,99991789,99991769,99991757,99991753,
        !            99:   99991733,99991721,99991687,99991673,99991667,99991609,99991583,99991561,99991559,99991519,
        !           100:   99991517,99991499,99991481,99991447,99991387,99991379,99991363,99991343,99991303,99991277,
        !           101:   99991273,99991271,99991249,99991237,99991207,99991109,99991103,99991081,99991063,99991049,
        !           102:   99991033,99991009,99990973,99990971,99990967,99990929,99990911,99990893,99990887,99990871,
        !           103:   99990799,99990757,99990739,99990731,99990703,99990679,99990647,99990641,99990589,99990587,
        !           104:   99990581,99990577,99990571,99990551,99990547,99990533,99990511,99990493,99990491,99990487,
        !           105:   99990467,99990461,99990419,99990389,99990337,99990329,99990307,99990299,99990287,99990281,
        !           106:   99990263,99990239,99990181,99990161,99990139,99990113,99990091,99990083,99990053,99990049,
        !           107:   99990043,99990029,99990001,99989983,99989963,99989909,99989891,99989887,99989863,99989833,
        !           108:   99989819,99989807,99989803,99989783,99989759,99989711,99989683,99989677,99989657,99989639,
        !           109:   99989627,99989599,99989581,99989573,99989569,99989567,99989557,99989551,99989543,99989537,
        !           110:   99989509,99989501,99989497,99989489,99989479,99989459,99989423,99989389,99989369,99989339,
        !           111:   99989333,99989327,99989317,99989311,99989269,99989261,99989251,99989237,99989209,99989179,
        !           112:   99989177,99989171,99989159,99989117,99989107,99989101,99989093,99989083,99989081,99989063,
        !           113:   99989051,99989047,99989041,99989033,99989023,99989009,99989003,99988997,99988961,99988913,
        !           114:   99988879,99988859,99988853,99988831,99988829,99988813,99988807,99988771,99988753,99988649,
        !           115:   99988633,99988619,99988597,99988591,99988579,99988573,99988571,99988531,99988489,99988487,
        !           116:   99988481,99988477,99988453,99988409,99988403,99988367,99988363,99988349,99988331,99988313,
        !           117:   99988289,99988277,99988261,99988253,99988247,99988219,99988139,99988117,99988103,99988099,
        !           118:   99988073,99988069,99988037,99988019,99988003,99987997,99987991,99987983,99987973,99987961,
        !           119:   99987959,99987917,99987907,99987893,99987887,99987883,99987871,99987869,99987817,99987799,
        !           120:   99987787,99987781,99987779,99987763,99987721,99987707,99987691,99987683,99987619,99987611,
        !           121:   99987593,99987581,99987571,99987539,99987529,99987497,99987467,99987457,99987449,99987373,
        !           122:   99987343,99987313,99987301,99987299,99987281,99987271,99987269,99987263,99987257,99987221,
        !           123:   99987211,99987197,99987161,99987133,99987131,99987119,99987103,99987089,99987067,99987037,
        !           124:   99987011,99986993,99986989,99986969,99986963,99986947,99986933,99986927,99986891,99986881,
        !           125:   99986857,99986851,99986849,99986827,99986801,99986791,99986767,99986743,99986723,99986717,
        !           126:   99986699,99986669,99986657,99986647,99986641,99986633,99986629,99986611,99986609,99986597,
        !           127:   99986539,99986527,99986521,99986507,99986489,99986483,99986479,99986477,99986449,99986431,
        !           128:   99986423,99986353,99986351,99986347,99986329,99986279,99986273,99986269,99986251,99986233,
        !           129:   99986153,99986141,99986123,99986111,99986093,99986077,99986063,99986053,99986039,99986023,
        !           130:   99986011,99985987,99985973,99985927,99985883,99985849,99985843,99985811,99985799,99985777,
        !           131:   99985727,99985723,99985709,99985693,99985681,99985673,99985663,99985661,99985651,99985637,
        !           132:   99985603,99985579,99985573,99985559,99985549,99985547,99985489,99985463,99985441,99985427,
        !           133:   99985423,99985409,99985397,99985351,99985339,99985337,99985321,99985297,99985273,99985271,
        !           134:   99985267,99985241,99985219,99985217,99985159,99985157,99985153,99985147,99985141,99985099,
        !           135:   99985091,99985057,99985021,99985009,99984991,99984967,99984947,99984923,99984919,99984893,
        !           136:   99984883,99984877,99984853,99984823,99984817,99984757,99984751,99984743,99984733,99984697,
        !           137:   99984679,99984629,99984623,99984617,99984607,99984601,99984587,99984559,99984541,99984529,
        !           138:   99984491,99984487,99984461,99984457,99984449,99984439,99984421,99984413,99984383,99984371,
        !           139:   99984347,99984343,99984337,99984329,99984319,99984277,99984271,99984253,99984239,99984221,
        !           140:   99984211,99984187,99984169,99984149,99984133,99984127,99984121,99984119,99984109,99984103,
        !           141:   99984097,99984091,99984043,99984029,99983971,99983969,99983957,99983929,99983867,99983861,
        !           142:   99983837,99983797,99983761,99983759,99983753,99983717,99983683,99983669,99983633,99983627,
        !           143:   99983621,99983581,99983573,99983563,99983489,99983483,99983459,99983449,99983441,99983437,
        !           144:   99983431,99983423,99983419,99983413,99983381,99983357,99983353,99983333,99983327,99983311,
        !           145:   99983309,99983243,99983237,99983227,99983207,99983201,99983197,99983189,99983183,99983179,
        !           146:   99983141,99983129,99983119,99983113,99983083,99983077,99983057,99983017,99982957,99982951,
        !           147:   99982943,99982937,99982903,99982901,99982889,99982877,99982859,99982849,99982811,99982801,
        !           148:   99982759,99982741,99982717,99982709,99982703,99982669,99982643,99982609,99982601,99982573,
        !           149:   99982537,99982523,99982507,99982499,99982483,99982453,99982447,99982429,99982417,99982391,
        !           150:   99982369,99982367,99982339,99982307,99982303,99982297,99982261,99982249,99982247,99982243,
        !           151:   99982241,99982229,99982217,99982193,99982133,99982109,99982097,99982079,99982073,99982033,
        !           152:   99982013,99982007,99981991,99981979,99981967,99981961,99981953,99981941,99981929,99981911,
        !           153:   99981907,99981899,99981887,99981863,99981853,99981829,99981823,99981803,99981793,
        !           154: };

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>