📄 dccp_tfrc_lookup.h
字号:
/* * Copyright (c) 2003 Nils-Erik Mattsson * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * $Id: dccp_tfrc_lookup.h,v 1.1 2004/09/30 23:00:50 bjohog Exp $ */#ifndef _NETINET_DCCP_TFRC_LOOKUP_H_#define _NETINET_DCCP_TFRC_LOOKUP_H_const double fsmall_table[] ={ 0, 0.00163305194960931, 0.00230956735363637, 0.00282873259487707, 0.00326645662574537, 0.00365214098377853, 0.00400086400001593, 0.00432158256340322, 0.00462013236858081, 0.00490056675498551, 0.00516583682704458, 0.00541817034936234, 0.00565929801070833, 0.00589059608718062, 0.00611318041778383, 0.00632797058060318, 0.00653573506415987, 0.00673712389086595, 0.00693269270671348, 0.0071229209166037, 0.00730822557103113, 0.00748897216079408, 0.00766548312170872, 0.00783804461648552, 0.00800691200203843, 0.00817231428085712, 0.00833445775806404, 0.00849352907081277, 0.00864969771687212, 0.00880311818001545, 0.0089539317281132, 0.00910226794349901, 0.00924824603277504, 0.00939197595370597, 0.009533559389484, 0.00967309059489451, 0.00981065713438519, 0.00994634052845154, 0.0100802168218855, 0.0102123570851299, 0.0103428278581192, 0.010471691544469, 0.0105990067626397, 0.0107248286596785, 0.0108492091922994, 0.0109721973793658, 0.0110938395292506, 0.0112141794450653, 0.0113332586103332, 0.0114511163573388, 0.0115677900200876, 0.0116833150735621, 0.011797725260745, 0.0119110527086984, 0.0120233280348285, 0.0121345804443331, 0.0122448378197079, 0.0123541268030903, 0.0124624728721277, 0.0125699004099823, 0.0126764327700174, 0.0127820923356504, 0.0128869005758063, 0.0129908780963614, 0.0130940446879258, 0.0131964193702772, 0.01329802043373, 0.0133988654776928, 0.0134989714466453, 0.0135983546637418, 0.0136970308622305, 0.0137950152148595, 0.0138923223614248, 0.0139889664346018, 0.0140849610841894, 0.0141803194998843, 0.0142750544326924, 0.0143691782150771, 0.0144627027799322, 0.0145556396784645, 0.0146480000970597, 0.014739794873203, 0.0148310345105165, 0.0149217291929752, 0.0150118887983524, 0.0151015229109484, 0.0151906408336458, 0.0152792515993363, 0.0153673639817576, 0.0154549865057777, 0.0155421274571605, 0.0156287948918437, 0.0157149966447599, 0.0158007403382266, 0.0158860333899315, 0.0159708830205358, 0.0160552962609193, 0.0161392799590851, 0.0162228407867464, 0.0163059852456097, 0.0163887196733746, 0.0164710502494631, 0.0165529830004946, 0.0166345238055199, 0.0167156784010267, 0.0167964523857295, 0.0168768512251538, 0.0169568802560266, 0.0170365446904829, 0.0171158496200964, 0.0171948000197448, 0.0172734007513173, 0.0173516565672713, 0.0174295721140473, 0.017507151935348, 0.0175844004752871, 0.017661322081417, 0.0177379210076372, 0.0178142014169926, 0.0178901673843644, 0.0179658228990597, 0.0180411718673042, 0.0181162181146423, 0.0181909653882486, 0.0182654173591552, 0.0183395776243984, 0.018413449709088, 0.0184870370684027, 0.0185603430895154, 0.0186333710934504, 0.0187061243368762, 0.0187786060138361, 0.0188508192574198, 0.0189227671413778, 0.0189944526816812, 0.0190658788380296, 0.019137048515308, 0.0192079645649969, 0.0192786297865344, 0.0193490469286358, 0.0194192186905687, 0.0194891477233888, 0.0195588366311352, 0.0196282879719884, 0.0196975042593915, 0.0197664879631372, 0.01983524151042, 0.0199037672868568, 0.0199720676374761, 0.0200401448676771, 0.02010800124416, 0.020175638995828, 0.0202430603146631, 0.0203102673565755, 0.0203772622422282, 0.0204440470578377, 0.0205106238559511, 0.0205769946562011, 0.0206431614460395, 0.0207091261814494, 0.0207748907876375, 0.020840457159707, 0.020905827163312, 0.0209710026352927, 0.0210359853842945, 0.0211007771913689, 0.0211653798105588, 0.0212297949694677, 0.0212940243698132, 0.0213580696879667, 0.0214219325754774, 0.0214856146595837, 0.0215491175437103, 0.0216124428079525, 0.0216755920095483, 0.0217385666833377, 0.0218013683422109, 0.0218639984775441, 0.0219264585596254, 0.0219887500380688, 0.0220508743422187, 0.0221128328815438, 0.022174627046021, 0.022236258206511, 0.0222977277151227, 0.0223590369055709, 0.0224201870935234, 0.0224811795769409, 0.0225420156364085, 0.0226026965354587, 0.0226632235208875, 0.0227235978230625, 0.022783820656224, 0.0228438932187787, 0.0229038166935873, 0.0229635922482444, 0.0230232210353529, 0.0230827041927913, 0.0231420428439758, 0.0232012380981154, 0.0232602910504621, 0.0233192027825551, 0.0233779743624595, 0.0234366068449998, 0.0234951012719883, 0.0235534586724479, 0.0236116800628313, 0.0236697664472338, 0.0237277188176025, 0.023785538153941, 0.0238432254245091, 0.0239007815860187, 0.0239582075838253, 0.0240155043521156, 0.0240726728140909, 0.0241297138821471, 0.0241866284580502, 0.024243417433109, 0.0243000816883436, 0.0243566220946503, 0.0244130395129642, 0.0244693347944169, 0.0245255087804923, 0.0245815623031787, 0.0246374961851176, 0.0246933112397499, 0.0247490082714593, 0.0248045880757123, 0.0248600514391958, 0.0249153991399521, 0.0249706319475108, 0.0250257506230185, 0.025080755919366, 0.0251356485813126, 0.0251904293456085, 0.0252450989411148, 0.0252996580889205, 0.0253541075024583, 0.0254084478876176, 0.0254626799428553, 0.025516804359305, 0.0255708218208836, 0.0256247330043961, 0.0256785385796388, 0.0257322392095, 0.0257858355500594, 0.025839328250685, 0.0258927179541294, 0.0259460052966225, 0.0259991909079647, 0.0260522754116166, 0.026105259424788, 0.0261581435585253, 0.0262109284177969, 0.0262636146015774, 0.0263162027029303, 0.0263686933090892, 0.0264210870015373, 0.0264733843560862, 0.0265255859429526, 0.0265776923268339, 0.0266297040669827, 0.0266816217172798, 0.026733445826306, 0.0267851769374128, 0.0268368155887916, 0.026888362313542, 0.0269398176397387, 0.0269911820904977, 0.0270424561840408, 0.0270936404337596, 0.0271447353482779, 0.0271957414315136, 0.0272466591827389, 0.0272974890966405, 0.0273482316633775, 0.0273988873686397, 0.027449456693704, 0.0274999401154902, 0.027550338106616, 0.0276006511354511, 0.02765087966617, 0.0277010241588047, 0.027751085069296, 0.0278010628495439, 0.027850957947458, 0.0279007708070058, 0.0279505018682618, 0.0280001515674544, 0.0280497203370128, 0.0280992086056135, 0.028148616798225, 0.0281979453361527, 0.028247194637083, 0.0282963651151265, 0.0283454571808605, 0.0283944712413708, 0.0284434077002936, 0.0284922669578557, 0.0285410494109145, 0.0285897554529981, 0.0286383854743433, 0.0286869398619349, 0.0287354189995426, 0.0287838232677585, 0.0288321530440338, 0.0288804087027148, 0.0289285906150784, 0.0289766991493673, 0.0290247346708242, 0.0290726975417263, 0.0291205881214181, 0.0291684067663454, 0.0292161538300869, 0.029263829663387, 0.0293114346141869, 0.0293589690276564, 0.029406433246224, 0.0294538276096075, 0.0295011524548438, 0.0295484081163186, 0.029595594925795, 0.0296427132124425, 0.029689763302865, 0.0297367455211288, 0.0297836601887898, 0.0298305076249208, 0.0298772881461383, 0.0299240020666283, 0.0299706496981729, 0.0300172313501756, 0.0300637473296863, 0.0301101979414268, 0.030156583487815, 0.0302029042689891, 0.0302491605828317, 0.0302953527249935, 0.0303414809889161, 0.0303875456658556, 0.0304335470449047, 0.0304794854130155, 0.0305253610550213, 0.0305711742536585, 0.030616925289588, 0.0306626144414165, 0.0307082419857174, 0.0307538081970513, 0.0307993133479868, 0.0308447577091201, 0.0308901415490953, 0.0309354651346236, 0.0309807287305032, 0.0310259325996379, 0.0310710770030561, 0.0311161621999296, 0.0311611884475917, 0.0312061560015558, 0.0312510651155326, 0.0312959160414486, 0.031340709029463, 0.0313854443279853, 0.031430122183692, 0.0314747428415438, 0.0315193065448019, 0.0315638135350446, 0.0316082640521835, 0.0316526583344794, 0.0316969966185581, 0.0317412791394264, 0.0317855061304867, 0.0318296778235532, 0.0318737944488663, 0.0319178562351077, 0.0319618634094152, 0.0320058161973967, 0.0320497148231454, 0.0320935595092531, 0.0321373504768247, 0.032181087945492, 0.032224772133427, 0.032268403257356, 0.0323119815325724, 0.0323555071729501, 0.0323989803909566, 0.0324424013976657, 0.0324857704027703, 0.0325290876145952, 0.032572353240109, 0.032615567484937, 0.0326587305533729, 0.032701842648391, 0.0327449039716579, 0.0327879147235444, 0.0328308751031372, 0.0328737853082498, 0.0329166455354347, 0.0329594559799936, 0.0330022168359894, 0.0330449282962565, 0.0330875905524119, 0.0331302037948658, 0.0331727682128323, 0.0332152839943397, 0.0332577513262411, 0.0333001703942243, 0.0333425413828221, 0.0333848644754222, 0.0334271398542773, 0.0334693677005146, 0.0335115481941457, 0.0335536815140761, 0.0335957678381145, 0.0336378073429825, 0.0336798002043235, 0.0337217465967119, 0.0337636466936625, 0.0338055006676391, 0.0338473086900635, 0.0338890709313242, 0.033930787560785, 0.033972458746794, 0.0340140846566914, 0.0340556654568185, 0.0340972013125256, 0.0341386923881805, 0.0341801388471764, 0.0342215408519403, 0.0342628985639403, 0.0343042121436941, 0.0343454817507766, 0.0343867075438276, 0.0344278896805592, 0.0344690283177636, 0.0345101236113208, 0.0345511757162053, 0.0345921847864941, 0.0346331509753735, 0.0346740744351467, 0.0347149553172402, 0.0347557937722115, 0.0347965899497558, 0.0348373439987127, 0.0348780560670734, 0.0349187263019868, 0.034959354849767, 0.0349999418558991, 0.0350404874650462, 0.035080991821056, 0.0351214550669666, 0.0351618773450133, 0.0352022587966348, 0.0352425995624795, 0.0352828997824113, 0.035323159595516, 0.0353633791401072, 0.0354035585537324, 0.0354436979731787, 0.0354837975344788, 0.0355238573729168, 0.0355638776230337, 0.0356038584186336, 0.0356437998927886, 0.0356837021778449, 0.0357235654054283, 0.0357633897064494, 0.0358031752111091, 0.035842922048904, 0.0358826303486317, 0.0359223002383961, 0.0359619318456125, 0.0360015252970127, 0.0360410807186503, 0.0360805982359056, 0.0361200779734907, 0.0361595200554543, 0.0361989246051867, 0.0362382917454249, 0.0362776215982569, 0.036316914285127, 0.0363561699268402, 0.0363953886435669, 0.0364345705548478, 0.036473715779598, 0.0365128244361123, 0.0365518966420688, 0.0365909325145341, 0.0366299321699675, 0.0366688957242252, 0.0367078232925648, 0.0367467149896497, 0.0367855709295533, 0.0368243912257629, 0.0368631759911844, 0.0369019253381463, 0.0369406393784034, 0.0369793182231416, 0.0370179619829813, 0.0370565707679816, 0.0370951446876444, 0.0371336838509182, 0.0371721883662021, 0.0371721883662021};const double flarge_table[] = { 243.315981116462, 243.315981116462, 23.9600361713695, 6.9139329716018, 3.16392425109494, 1.86371728900425, 1.27777777777778, 0.964508403261589, 0.77581442422356, 0.651853237448473,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -