File indexing completed on 2024-04-06 12:31:00
0001 float evaluate(float x) {
0002
0003 float valuesArray[921] = { 0.000598718, 0.00179789, 0.00380417, 0.00622833, 0.00934726
0004 , 0.0133483, 0.0172689, 0.0225072, 0.0282688, 0.0339136
0005 , 0.040572, 0.0482572, 0.0557854, 0.063159, 0.0727605
0006 , 0.082258, 0.0915594, 0.101262, 0.112735, 0.123969
0007 , 0.134968, 0.146844, 0.159929, 0.172739, 0.185278
0008 , 0.199281, 0.21373, 0.227871, 0.242102, 0.257926
0009 , 0.273412, 0.288564, 0.305358, 0.321845, 0.338351
0010 , 0.355808, 0.372906, 0.390895, 0.408861, 0.427103
0011 , 0.445108, 0.462713, 0.479924, 0.496746, 0.513186
0012 , 0.52925, 0.544943, 0.560272, 0.575241, 0.589857
0013 , 0.604126, 0.618052, 0.631641, 0.644898, 0.657829
0014 , 0.670439, 0.682733, 0.694716, 0.706393, 0.717768
0015 , 0.728848, 0.739635, 0.750136, 0.760355, 0.770296
0016 , 0.779964, 0.789363, 0.798498, 0.807373, 0.815993
0017 , 0.824361, 0.832481, 0.840359, 0.847997, 0.8554
0018 , 0.862572, 0.869516, 0.876237, 0.882738, 0.889022
0019 , 0.895095, 0.900958, 0.906616, 0.912073, 0.917331
0020 , 0.922394, 0.927265, 0.931949, 0.936447, 0.940763
0021 , 0.944901, 0.948864, 0.952653, 0.956274, 0.959728
0022 , 0.963019, 0.966149, 0.969122, 0.97194, 0.974606
0023 , 0.977122, 0.979492, 0.981718, 0.983803, 0.985749
0024 , 0.987559, 0.989235, 0.990781, 0.992197, 0.993487
0025 , 0.994654, 0.995699, 0.996624, 0.997433, 0.998126
0026 , 0.998708, 0.999178, 0.999541, 0.999797, 0.99995
0027 , 1, 0.99995, 0.999803, 0.999559, 0.999221
0028 , 0.998791, 0.99827, 0.997661, 0.996966, 0.996185
0029 , 0.995321, 0.994376, 0.993351, 0.992248, 0.991068
0030 , 0.989814, 0.988487, 0.987088, 0.985619, 0.984081
0031 , 0.982477, 0.980807, 0.979073, 0.977276, 0.975419
0032 , 0.973501, 0.971525, 0.969492, 0.967403, 0.96526
0033 , 0.963064, 0.960816, 0.958517, 0.956169, 0.953772
0034 , 0.951329, 0.94884, 0.946306, 0.943729, 0.941109
0035 , 0.938448, 0.935747, 0.933006, 0.930228, 0.927412
0036 , 0.924561, 0.921674, 0.918753, 0.915799, 0.912813
0037 , 0.909796, 0.906748, 0.903671, 0.900566, 0.897432
0038 , 0.894272, 0.891086, 0.887875, 0.884639, 0.88138
0039 , 0.878099, 0.874795, 0.87147, 0.868125, 0.86476
0040 , 0.861376, 0.857973, 0.854553, 0.851117, 0.847664
0041 , 0.844195, 0.840712, 0.837214, 0.833703, 0.830178
0042 , 0.826641, 0.823093, 0.819533, 0.815963, 0.812382
0043 , 0.808792, 0.805193, 0.801586, 0.79797, 0.794347
0044 , 0.790718, 0.787081, 0.783439, 0.779792, 0.776139
0045 , 0.772482, 0.768821, 0.765157, 0.761489, 0.757818
0046 , 0.754145, 0.75047, 0.746794, 0.743116, 0.739438
0047 , 0.735759, 0.73208, 0.728402, 0.724724, 0.721048
0048 , 0.717372, 0.713699, 0.710028, 0.706359, 0.702692
0049 , 0.699029, 0.695369, 0.691713, 0.688061, 0.684413
0050 , 0.680769, 0.67713, 0.673496, 0.669868, 0.666245
0051 , 0.662627, 0.659016, 0.655411, 0.651812, 0.648221
0052 , 0.644636, 0.641058, 0.637488, 0.633925, 0.63037
0053 , 0.626823, 0.623284, 0.619754, 0.616232, 0.612719
0054 , 0.609215, 0.605719, 0.602233, 0.598757, 0.59529
0055 , 0.591833, 0.588385, 0.584948, 0.581521, 0.578104
0056 , 0.574697, 0.571301, 0.567916, 0.564541, 0.561178
0057 , 0.557825, 0.554484, 0.551154, 0.547835, 0.544528
0058 , 0.541232, 0.537948, 0.534676, 0.531416, 0.528167
0059 , 0.524931, 0.521707, 0.518495, 0.515295, 0.512107
0060 , 0.508932, 0.50577, 0.50262, 0.499482, 0.496358
0061 , 0.493246, 0.490146, 0.48706, 0.483986, 0.480926
0062 , 0.477878, 0.474844, 0.471822, 0.468814, 0.465819
0063 , 0.462837, 0.459868, 0.456913, 0.45397, 0.451041
0064 , 0.448126, 0.445224, 0.442335, 0.43946, 0.436598
0065 , 0.433749, 0.430914, 0.428092, 0.425284, 0.42249
0066 , 0.419709, 0.416941, 0.414187, 0.411446, 0.408719
0067 , 0.406006, 0.403306, 0.40062, 0.397947, 0.395287
0068 , 0.392641, 0.390009, 0.38739, 0.384785, 0.382193
0069 , 0.379615, 0.37705, 0.374499, 0.371961, 0.369436
0070 , 0.366925, 0.364427, 0.361943, 0.359472, 0.357014
0071 , 0.35457, 0.352139, 0.349721, 0.347317, 0.344926
0072 , 0.342547, 0.340183, 0.337831, 0.335492, 0.333167
0073 , 0.330854, 0.328555, 0.326268, 0.323995, 0.321734
0074 , 0.319487, 0.317252, 0.31503, 0.312821, 0.310625
0075 , 0.308441, 0.30627, 0.304112, 0.301966, 0.299833
0076 , 0.297713, 0.295605, 0.293509, 0.291426, 0.289356
0077 , 0.287297, 0.285252, 0.283218, 0.281196, 0.279187
0078 , 0.27719, 0.275205, 0.273232, 0.271271, 0.269322
0079 , 0.267385, 0.26546, 0.263546, 0.261645, 0.259755
0080 , 0.257877, 0.25601, 0.254156, 0.252312, 0.250481
0081 , 0.24866, 0.246852, 0.245054, 0.243268, 0.241493
0082 , 0.239729, 0.237977, 0.236236, 0.234506, 0.232786
0083 , 0.231078, 0.229381, 0.227695, 0.226019, 0.224355
0084 , 0.222701, 0.221057, 0.219425, 0.217803, 0.216191
0085 , 0.214591, 0.213, 0.21142, 0.20985, 0.208291
0086 , 0.206742, 0.205203, 0.203674, 0.202155, 0.200647
0087 , 0.199148, 0.19766, 0.196181, 0.194712, 0.193253
0088 , 0.191804, 0.190364, 0.188934, 0.187514, 0.186103
0089 , 0.184702, 0.18331, 0.181928, 0.180555, 0.179191
0090 , 0.177836, 0.176491, 0.175155, 0.173828, 0.17251
0091 , 0.171201, 0.169901, 0.16861, 0.167328, 0.166055
0092 , 0.16479, 0.163535, 0.162287, 0.161049, 0.159819
0093 , 0.158598, 0.157385, 0.15618, 0.154984, 0.153796
0094 , 0.152617, 0.151446, 0.150283, 0.149128, 0.147981
0095 , 0.146842, 0.145712, 0.144589, 0.143474, 0.142367
0096 , 0.141268, 0.140177, 0.139093, 0.138017, 0.136949
0097 , 0.135888, 0.134835, 0.133789, 0.132751, 0.131721
0098 , 0.130697, 0.129681, 0.128672, 0.127671, 0.126676
0099 , 0.125689, 0.124709, 0.123736, 0.12277, 0.121811
0100 , 0.120859, 0.119914, 0.118975, 0.118044, 0.117119
0101 , 0.116201, 0.115289, 0.114384, 0.113486, 0.112594
0102 , 0.111709, 0.110831, 0.109958, 0.109092, 0.108233
0103 , 0.10738, 0.106533, 0.105692, 0.104857, 0.104029
0104 , 0.103207, 0.10239, 0.10158, 0.100776, 0.0999777
0105 , 0.0991854, 0.0983989, 0.0976182, 0.0968433, 0.0960742
0106 , 0.0953108, 0.094553, 0.093801, 0.0930545, 0.0923136
0107 , 0.0915782, 0.0908483, 0.0901239, 0.0894049, 0.0886913
0108 , 0.087983, 0.08728, 0.0865824, 0.0858899, 0.0852027
0109 , 0.0845206, 0.0838437, 0.0831719, 0.0825052, 0.0818435
0110 , 0.0811867, 0.080535, 0.0798882, 0.0792463, 0.0786092
0111 , 0.077977, 0.0773496, 0.0767269, 0.076109, 0.0754958
0112 , 0.0748872, 0.0742833, 0.073684, 0.0730893, 0.0724991
0113 , 0.0719134, 0.0713321, 0.0707554, 0.070183, 0.0696151
0114 , 0.0690514, 0.0684922, 0.0679372, 0.0673864, 0.0668399
0115 , 0.0662976, 0.0657595, 0.0652255, 0.0646957, 0.0641699
0116 , 0.0636482, 0.0631305, 0.0626168, 0.0621071, 0.0616013
0117 , 0.0610995, 0.0606015, 0.0601074, 0.0596171, 0.0591307
0118 , 0.058648, 0.058169, 0.0576938, 0.0572223, 0.0567545
0119 , 0.0562903, 0.0558297, 0.0553727, 0.0549193, 0.0544694
0120 , 0.0540231, 0.0535802, 0.0531408, 0.0527048, 0.0522722
0121 , 0.0518431, 0.0514173, 0.0509948, 0.0505757, 0.0501598
0122 , 0.0497472, 0.0493379, 0.0489318, 0.0485289, 0.0481291
0123 , 0.0477325, 0.0473391, 0.0469487, 0.0465614, 0.0461772
0124 , 0.045796, 0.0454178, 0.0450427, 0.0446704, 0.0443012
0125 , 0.0439348, 0.0435714, 0.0432109, 0.0428532, 0.0424983
0126 , 0.0421463, 0.041797, 0.0414506, 0.0411069, 0.0407659
0127 , 0.0404277, 0.0400921, 0.0397593, 0.039429, 0.0391014
0128 , 0.0387765, 0.0384541, 0.0381343, 0.037817, 0.0375023
0129 , 0.0371902, 0.0368805, 0.0365733, 0.0362685, 0.0359662
0130 , 0.0356663, 0.0353689, 0.0350738, 0.0347811, 0.0344907
0131 , 0.0342027, 0.033917, 0.0336336, 0.0333525, 0.0330736
0132 , 0.032797, 0.0325226, 0.0322504, 0.0319805, 0.0317127
0133 , 0.031447, 0.0311836, 0.0309222, 0.030663, 0.0304058
0134 , 0.0301508, 0.0298978, 0.0296468, 0.0293979, 0.029151
0135 , 0.0289061, 0.0286632, 0.0284223, 0.0281833, 0.0279463
0136 , 0.0277112, 0.027478, 0.0272467, 0.0270173, 0.0267897
0137 , 0.026564, 0.0263402, 0.0261181, 0.0258979, 0.0256795
0138 , 0.0254628, 0.025248, 0.0250349, 0.0248235, 0.0246138
0139 , 0.0244059, 0.0241997, 0.0239951, 0.0237923, 0.023591
0140 , 0.0233915, 0.0231936, 0.0229973, 0.0228026, 0.0226095
0141 , 0.022418, 0.022228, 0.0220397, 0.0218528, 0.0216675
0142 , 0.0214838, 0.0213015, 0.0211208, 0.0209415, 0.0207637
0143 , 0.0205874, 0.0204125, 0.0202391, 0.0200671, 0.0198965
0144 , 0.0197273, 0.0195595, 0.0193931, 0.0192281, 0.0190645
0145 , 0.0189022, 0.0187412, 0.0185816, 0.0184233, 0.0182663
0146 , 0.0181106, 0.0179562, 0.0178031, 0.0176512, 0.0175006
0147 , 0.0173513, 0.0172032, 0.0170563, 0.0169106, 0.0167662
0148 , 0.0166229, 0.0164809, 0.01634, 0.0162003, 0.0160617
0149 , 0.0159244, 0.0157881, 0.015653, 0.015519, 0.0153862
0150 , 0.0152544, 0.0151237, 0.0149942, 0.0148657, 0.0147383
0151 , 0.0146119, 0.0144866, 0.0143624, 0.0142391, 0.014117
0152 , 0.0139958, 0.0138756, 0.0137565, 0.0136384, 0.0135212
0153 , 0.013405, 0.0132898, 0.0131756, 0.0130623, 0.01295
0154 , 0.0128386, 0.0127281, 0.0126186, 0.01251, 0.0124023
0155 , 0.0122955, 0.0121896, 0.0120846, 0.0119805, 0.0118773
0156 , 0.0117749, 0.0116734, 0.0115727, 0.0114729, 0.0113739
0157 , 0.0112758, 0.0111785, 0.011082, 0.0109863, 0.0108914
0158 , 0.0107974, 0.0107041, 0.0106116, 0.0105199, 0.010429
0159 , 0.0103388, 0.0102494, 0.0101607, 0.0100728, 0.00998569
0160 , 0.00989927, 0.00981358, 0.00972862, 0.00964437, 0.00956084
0161 , 0.00947802, 0.0093959, 0.00931447, 0.00923374, 0.00915369
0162 , 0.00907432, 0.00899562, 0.00891759, 0.00884022, 0.00876351
0163 , 0.00868745, 0.00861203, 0.00853726, 0.00846312, 0.00838961
0164 , 0.00831673, 0.00824446, 0.00817281, 0.00810178, 0.00803134
0165 , 0.0079615, 0.00789226, 0.00782361, 0.00775555, 0.00768806
0166 , 0.00762115, 0.00755481, 0.00748903, 0.00742382, 0.00735916
0167 , 0.00729506, 0.0072315, 0.00716848, 0.007106, 0.00704406
0168 , 0.00698264, 0.00692175, 0.00686138, 0.00680153, 0.00674218
0169 , 0.00668335, 0.00662502, 0.00656719, 0.00650985, 0.006453
0170 , 0.00639664, 0.00634077, 0.00628537, 0.00623044, 0.00617599
0171 , 0.006122, 0.00606848, 0.00601542, 0.00596281, 0.00591065
0172 , 0.00585894, 0.00580767, 0.00575685, 0.00570646, 0.0056565
0173 , 0.00560697, 0.00555787, 0.00550919, 0.00546093, 0.00541308
0174 , 0.00536565, 0.00531862, 0.005272, 0.00522578, 0.00517995
0175 , 0.00513452, 0.00508949, 0.00504484, 0.00500057, 0.00495669
0176 , 0.00491318, 0.00487005, 0.00482729, 0.0047849, 0.00474288
0177 , 0.00470122, 0.00465992, 0.00461897, 0.00457838, 0.00453814
0178 , 0.00449824, 0.00445869, 0.00441948, 0.00438062, 0.00434208
0179 , 0.00430388, 0.00426601, 0.00422847, 0.00419125, 0.00415436
0180 , 0.00411778, 0.00408152, 0.00404558, 0.00400994, 0.00397462
0181 , 0.0039396, 0.00390488, 0.00387046, 0.00383635, 0.00380253
0182 , 0.003769, 0.00373576, 0.00370281, 0.00367015, 0.00363777
0183 , 0.00360567, 0.00357385, 0.0035423, 0.00351103, 0.00348003
0184 , 0.0034493, 0.00341884, 0.00338864, 0.00335871, 0.00332903
0185 , 0.00329962, 0.00327046, 0.00324155, 0.00321289, 0.00318449
0186 , 0.00315633, 0.00312841, 0.00310074, 0.00307331, 0.00304612
0187 , 0.00301916 };
0188 if(x<(-60)) return 0;
0189 if(x>(400)) return 0;
0190 return valuesArray[unsigned int(((x-(-60))/(0.5))+0.5)];
0191 }