float sigmoid(const float x) {
  static float values[] = {
      0.0180, 0.0183, 0.0185, 0.0188, 0.0191, 0.0194, 0.0197, 0.0200, 0.0203,
      0.0206, 0.0210, 0.0213, 0.0216, 0.0219, 0.0223, 0.0226, 0.0230, 0.0233,
      0.0237, 0.0241, 0.0244, 0.0248, 0.0252, 0.0256, 0.0260, 0.0264, 0.0268,
      0.0272, 0.0276, 0.0280, 0.0284, 0.0289, 0.0293, 0.0298, 0.0302, 0.0307,
      0.0311, 0.0316, 0.0321, 0.0326, 0.0331, 0.0336, 0.0341, 0.0346, 0.0351,
      0.0357, 0.0362, 0.0368, 0.0373, 0.0379, 0.0385, 0.0390, 0.0396, 0.0402,
      0.0408, 0.0415, 0.0421, 0.0427, 0.0434, 0.0440, 0.0447, 0.0454, 0.0460,
      0.0467, 0.0474, 0.0481, 0.0489, 0.0496, 0.0503, 0.0511, 0.0518, 0.0526,
      0.0534, 0.0542, 0.0550, 0.0558, 0.0567, 0.0575, 0.0583, 0.0592, 0.0601,
      0.0610, 0.0619, 0.0628, 0.0637, 0.0647, 0.0656, 0.0666, 0.0675, 0.0685,
      0.0695, 0.0706, 0.0716, 0.0726, 0.0737, 0.0748, 0.0759, 0.0770, 0.0781,
      0.0792, 0.0804, 0.0815, 0.0827, 0.0839, 0.0851, 0.0863, 0.0876, 0.0888,
      0.0901, 0.0914, 0.0927, 0.0940, 0.0953, 0.0967, 0.0981, 0.0995, 0.1009,
      0.1023, 0.1037, 0.1052, 0.1067, 0.1082, 0.1097, 0.1112, 0.1128, 0.1144,
      0.1160, 0.1176, 0.1192, 0.1209, 0.1225, 0.1242, 0.1259, 0.1277, 0.1294,
      0.1312, 0.1330, 0.1348, 0.1366, 0.1385, 0.1403, 0.1422, 0.1441, 0.1461,
      0.1480, 0.1500, 0.1520, 0.1541, 0.1561, 0.1582, 0.1603, 0.1624, 0.1645,
      0.1667, 0.1689, 0.1711, 0.1733, 0.1755, 0.1778, 0.1801, 0.1824, 0.1848,
      0.1871, 0.1895, 0.1919, 0.1944, 0.1968, 0.1993, 0.2018, 0.2043, 0.2069,
      0.2095, 0.2121, 0.2147, 0.2173, 0.2200, 0.2227, 0.2254, 0.2282, 0.2309,
      0.2337, 0.2365, 0.2393, 0.2422, 0.2451, 0.2480, 0.2509, 0.2539, 0.2568,
      0.2598, 0.2628, 0.2659, 0.2689, 0.2720, 0.2751, 0.2783, 0.2814, 0.2846,
      0.2878, 0.2910, 0.2942, 0.2975, 0.3007, 0.3040, 0.3074, 0.3107, 0.3141,
      0.3174, 0.3208, 0.3242, 0.3277, 0.3311, 0.3346, 0.3381, 0.3416, 0.3451,
      0.3486, 0.3522, 0.3558, 0.3594, 0.3630, 0.3666, 0.3702, 0.3739, 0.3775,
      0.3812, 0.3849, 0.3886, 0.3923, 0.3961, 0.3998, 0.4036, 0.4073, 0.4111,
      0.4149, 0.4187, 0.4225, 0.4263, 0.4301, 0.4340, 0.4378, 0.4417, 0.4455,
      0.4494, 0.4533, 0.4571, 0.4610, 0.4649, 0.4688, 0.4727, 0.4766, 0.4805,
      0.4844, 0.4883, 0.4922, 0.4961, 0.5000, 0.5039, 0.5078, 0.5117, 0.5156,
      0.5195, 0.5234, 0.5273, 0.5312, 0.5351, 0.5390, 0.5429, 0.5467, 0.5506,
      0.5545, 0.5583, 0.5622, 0.5660, 0.5699, 0.5737, 0.5775, 0.5813, 0.5851,
      0.5889, 0.5927, 0.5964, 0.6002, 0.6039, 0.6077, 0.6114, 0.6151, 0.6188,
      0.6225, 0.6261, 0.6298, 0.6334, 0.6370, 0.6406, 0.6442, 0.6478, 0.6514,
      0.6549, 0.6584, 0.6619, 0.6654, 0.6689, 0.6723, 0.6758, 0.6792, 0.6826,
      0.6859, 0.6893, 0.6926, 0.6960, 0.6993, 0.7025, 0.7058, 0.7090, 0.7122,
      0.7154, 0.7186, 0.7217, 0.7249, 0.7280, 0.7311, 0.7341, 0.7372, 0.7402,
      0.7432, 0.7461, 0.7491, 0.7520, 0.7549, 0.7578, 0.7607, 0.7635, 0.7663,
      0.7691, 0.7718, 0.7746, 0.7773, 0.7800, 0.7827, 0.7853, 0.7879, 0.7905,
      0.7931, 0.7957, 0.7982, 0.8007, 0.8032, 0.8056, 0.8081, 0.8105, 0.8129,
      0.8152, 0.8176, 0.8199, 0.8222, 0.8245, 0.8267, 0.8289, 0.8311, 0.8333,
      0.8355, 0.8376, 0.8397, 0.8418, 0.8439, 0.8459, 0.8480, 0.8500, 0.8520,
      0.8539, 0.8559, 0.8578, 0.8597, 0.8615, 0.8634, 0.8652, 0.8670, 0.8688,
      0.8706, 0.8723, 0.8741, 0.8758, 0.8775, 0.8791, 0.8808, 0.8824, 0.8840,
      0.8856, 0.8872, 0.8888, 0.8903, 0.8918, 0.8933, 0.8948, 0.8963, 0.8977,
      0.8991, 0.9005, 0.9019, 0.9033, 0.9047, 0.9060, 0.9073, 0.9086, 0.9099,
      0.9112, 0.9124, 0.9137, 0.9149, 0.9161, 0.9173, 0.9185, 0.9196, 0.9208,
      0.9219, 0.9230, 0.9241, 0.9252, 0.9263, 0.9274, 0.9284, 0.9294, 0.9305,
      0.9315, 0.9325, 0.9334, 0.9344, 0.9353, 0.9363, 0.9372, 0.9381, 0.9390,
      0.9399, 0.9408, 0.9417, 0.9425, 0.9433, 0.9442, 0.9450, 0.9458, 0.9466,
      0.9474, 0.9482, 0.9489, 0.9497, 0.9504, 0.9511, 0.9519, 0.9526, 0.9533,
      0.9540, 0.9546, 0.9553, 0.9560, 0.9566, 0.9573, 0.9579, 0.9585, 0.9592,
      0.9598, 0.9604, 0.9610, 0.9615, 0.9621, 0.9627, 0.9632, 0.9638, 0.9643,
      0.9649, 0.9654, 0.9659, 0.9664, 0.9669, 0.9674, 0.9679, 0.9684, 0.9689,
      0.9693, 0.9698, 0.9702, 0.9707, 0.9711, 0.9716, 0.9720, 0.9724, 0.9728,
      0.9732, 0.9736, 0.9740, 0.9744, 0.9748, 0.9752, 0.9756, 0.9759, 0.9763,
      0.9767, 0.9770, 0.9774, 0.9777, 0.9781, 0.9784, 0.9787, 0.9790, 0.9794,
      0.9797, 0.9800, 0.9803, 0.9806, 0.9809, 0.9812, 0.9815, 0.9817,
  };
  static int index;
  index = ((x / 4) + 1) / 2 * 512;
  return values[index];
}


x86 assembly (clang, -O0):
<sigmoid>:
push   %rbp
mov    %rsp,%rbp
movss  %xmm0,-0x4(%rbp)
movss  -0x4(%rbp),%xmm0
movss  0xef6(%rip),%xmm1
divss  %xmm1,%xmm0
movss  0xee6(%rip),%xmm1
addss  %xmm1,%xmm0
movss  0xed6(%rip),%xmm1
divss  %xmm1,%xmm0
movss  0xec6(%rip),%xmm1
mulss  %xmm1,%xmm0
cvttss2si %xmm0,%eax
mov    %eax,0x36ec(%rip)
movslq 0x36e5(%rip),%rcx
lea    0x2eda(%rip),%rax
movss  (%rax,%rcx,4),%xmm0
pop    %rbp
ret

x86 assembly (clang, -O2):
<sigmoid>:
mulss  0xef8(%rip),%xmm0
addss  0xef4(%rip),%xmm0
mulss  0xef0(%rip),%xmm0
mulss  0xeec(%rip),%xmm0
cvttss2si %xmm0,%eax
cltq
lea    0xee3(%rip),%rcx
movss  (%rcx,%rax,4),%xmm0
ret

LLVM IR (-O0):
@sigmoid.values = internal global [512 x float] [float 0x3F926E9780000000, float 0x3F92BD3C40000000, float 0x3F92F1AA00000000, float 0x3F93404EA0000000, float 0x3F938EF340000000, float 0x3F93DD9800000000, float 0x3F942C3CA0000000, float 0x3F947AE140000000, float 0x3F94C98600000000, float 0x3F95182AA0000000, float 0x3F95810620000000, float 0x3F95CFAAC0000000, float 0x3F961E4F80000000, float 0x3F966CF420000000, float 0x3F96D5CFA0000000, float 0x3F97247460000000, float 0x3F978D4FE0000000, float 0x3F97DBF480000000, float 0x3F9844D020000000, float 0x3F98ADABA0000000, float 0x3F98FC5040000000, float 0x3F99652BE0000000, float 0x3F99CE0760000000, float 0x3F9A36E2E0000000, float 0x3F9A9FBE80000000, float 0x3F9B089A00000000, float 0x3F9B717580000000, float 0x3F9BDA5120000000, float 0x3F9C432CA0000000, float 0x3F9CAC0840000000, float 0x3F9D14E3C0000000, float 0x3F9D97F620000000, float 0x3F9E00D1C0000000, float 0x3F9E83E420000000, float 0x3F9EECBFC0000000, float 0x3F9F6FD220000000, float 0x3F9FD8ADA0000000, float 0x3FA02DE000000000, float 0x3FA06F6940000000, float 0x3FA0B0F280000000, float 0x3FA0F27BC0000000, float 0x3FA13404E0000000, float 0x3FA1758E20000000, float 0x3FA1B71760000000, float 0x3FA1F8A0A0000000, float 0x3FA2474540000000, float 0x3FA288CE80000000, float 0x3FA2D77320000000, float 0x3FA318FC60000000, float 0x3FA367A100000000, float 0x3FA3B645A0000000, float 0x3FA3F7CEE0000000, float 0x3FA4467380000000, float 0x3FA4951820000000, float 0x3FA4E3BCE0000000, float 0x3FA53F7CE0000000, float 0x3FA58E21A0000000, float 0x3FA5DCC640000000, float 0x3FA6388660000000, float 0x3FA6872B00000000, float 0x3FA6E2EB20000000, float 0x3FA73EAB40000000, float 0x3FA78D4FE0000000, float 0x3FA7E91000000000, float 0x3FA844D020000000, float 0x3FA8A09020000000, float 0x3FA9096BC0000000, float 0x3FA9652BE0000000, float 0x3FA9C0EBE0000000, float 0x3FAA29C780000000, float 0x3FAA8587A0000000, float 0x3FAAEE6320000000, float 0x3FAB573EA0000000, float 0x3FABC01A40000000, float 0x3FAC28F5C0000000, float 0x3FAC91D140000000, float 0x3FAD07C840000000, float 0x3FAD70A3E0000000, float 0x3FADD97F60000000, float 0x3FAE4F7660000000, float 0x3FAEC56D60000000, float 0x3FAF3B6460000000, float 0x3FAFB15B60000000, float 0x3FB013A920000000, float 0x3FB04EA4A0000000, float 0x3FB0902DE0000000, float 0x3FB0CB2960000000, float 0x3FB10CB2A0000000, float 0x3FB147AE20000000, float 0x3FB1893740000000, float 0x3FB1CAC080000000, float 0x3FB212D780000000, float 0x3FB25460A0000000, float 0x3FB295E9E0000000, float 0x3FB2DE00E0000000, float 0x3FB32617C0000000, float 0x3FB36E2EC0000000, float 0x3FB3B645A0000000, float 0x3FB3FE5CA0000000, float 0x3FB4467380000000, float 0x3FB4951820000000, float 0x3FB4DD2F20000000, float 0x3FB52BD3C0000000, float 0x3FB57A7860000000, float 0x3FB5C91D20000000, float 0x3FB617C1C0000000, float 0x3FB66CF420000000, float 0x3FB6BB98C0000000, float 0x3FB710CB20000000, float 0x3FB765FD80000000, float 0x3FB7BB2FE0000000, float 0x3FB8106240000000, float 0x3FB86594A0000000, float 0x3FB8C154C0000000, float 0x3FB91D14E0000000, float 0x3FB978D500000000, float 0x3FB9D49520000000, float 0x3FBA305540000000, float 0x3FBA8C1540000000, float 0x3FBAEE6320000000, float 0x3FBB50B100000000, float 0x3FBBB2FEC0000000, float 0x3FBC154CA0000000, float 0x3FBC779A60000000, float 0x3FBCE07600000000, float 0x3FBD495180000000, float 0x3FBDB22D00000000, float 0x3FBE1B08A0000000, float 0x3FBE83E420000000, float 0x3FBEF34D60000000, float 0x3FBF5C2900000000, float 0x3FBFCB9240000000, float 0x3FC01D7DC0000000, float 0x3FC0587940000000, float 0x3FC0902DE0000000, float 0x3FC0CB2960000000, float 0x3FC10624E0000000, float 0x3FC1412060000000, float 0x3FC17C1BE0000000, float 0x3FC1BA5E40000000, float 0x3FC1F559C0000000, float 0x3FC2339C00000000, float 0x3FC271DE60000000, float 0x3FC2B367A0000000, float 0x3FC2F1AA00000000, float 0x3FC3333340000000, float 0x3FC374BC60000000, float 0x3FC3B98C80000000, float 0x3FC3FB15C0000000, float 0x3FC43FE5C0000000, float 0x3FC484B5E0000000, float 0x3FC4C98600000000, float 0x3FC50E5600000000, float 0x3FC5566D00000000, float 0x3FC59E83E0000000, float 0x3FC5E69AE0000000, float 0x3FC62EB1C0000000, float 0x3FC676C8C0000000, float 0x3FC6C22680000000, float 0x3FC70D8440000000, float 0x3FC758E220000000, float 0x3FC7A786C0000000, float 0x3FC7F2E480000000, float 0x3FC8418940000000, float 0x3FC8902DE0000000, float 0x3FC8E21960000000, float 0x3FC930BE00000000, float 0x3FC982A9A0000000, float 0x3FC9D49520000000, float 0x3FCA2680A0000000, float 0x3FCA7BB300000000, float 0x3FCAD0E560000000, float 0x3FCB2617C0000000, float 0x3FCB7B4A20000000, float 0x3FCBD07C80000000, float 0x3FCC28F5C0000000, float 0x3FCC816F00000000, float 0x3FCCD9E840000000, float 0x3FCD35A860000000, float 0x3FCD8E21A0000000, float 0x3FCDE9E1C0000000, float 0x3FCE45A1C0000000, float 0x3FCEA161E0000000, float 0x3FCF0068E0000000, float 0x3FCF5F6FE0000000, float 0x3FCFBE76C0000000, float 0x3FD00EBEE0000000, float 0x3FD03FE5C0000000, float 0x3FD06F6940000000, float 0x3FD0A09020000000, float 0x3FD0D1B720000000, float 0x3FD1048160000000, float 0x3FD135A860000000, float 0x3FD16872C0000000, float 0x3FD19B3D00000000, float 0x3FD1CFAAC0000000, float 0x3FD2027520000000, float 0x3FD236E2E0000000, float 0x3FD26B50C0000000, float 0x3FD29FBE80000000, float 0x3FD2D42C40000000, float 0x3FD30A3D80000000, float 0x3FD33EAB40000000, float 0x3FD374BC60000000, float 0x3FD3AC7100000000, float 0x3FD3E28240000000, float 0x3FD41A36E0000000, float 0x3FD4504820000000, float 0x3FD487FCC0000000, float 0x3FD4BFB160000000, float 0x3FD4F90960000000, float 0x3FD530BE00000000, float 0x3FD56A1620000000, float 0x3FD5A36E20000000, float 0x3FD5DCC640000000, float 0x3FD6161E40000000, float 0x3FD64F7660000000, float 0x3FD68A71E0000000, float 0x3FD6C56D60000000, float 0x3FD70068E0000000, float 0x3FD73B6460000000, float 0x3FD7765FE0000000, float 0x3FD7B15B60000000, float 0x3FD7EDFA40000000, float 0x3FD828F5C0000000, float 0x3FD86594A0000000, float 0x3FD8A233A0000000, float 0x3FD8DED280000000, float 0x3FD91B7180000000, float 0x3FD959B3E0000000, float 0x3FD99652C0000000, float 0x3FD9D49520000000, float 0x3FDA113400000000, float 0x3FDA4F7660000000, float 0x3FDA8DB8C0000000, float 0x3FDACBFB20000000, float 0x3FDB0A3D80000000, float 0x3FDB487FC0000000, float 0x3FDB86C220000000, float 0x3FDBC6A7E0000000, float 0x3FDC04EA40000000, float 0x3FDC44D020000000, float 0x3FDC831260000000, float 0x3FDCC2F840000000, float 0x3FDD02DE00000000, float 0x3FDD412060000000, float 0x3FDD810620000000, float 0x3FDDC0EBE0000000, float 0x3FDE00D1C0000000, float 0x3FDE40B780000000, float 0x3FDE809D40000000, float 0x3FDEC08320000000, float 0x3FDF0068E0000000, float 0x3FDF404EA0000000, float 0x3FDF803460000000, float 0x3FDFC01A40000000, float 5.000000e-01, float 0x3FE01FF2E0000000, float 0x3FE03FE5C0000000, float 0x3FE05FD8A0000000, float 0x3FE07FCBA0000000, float 0x3FE09FBE80000000, float 0x3FE0BFB160000000, float 0x3FE0DFA440000000, float 0x3FE0FF9720000000, float 0x3FE11F8A00000000, float 0x3FE13F7CE0000000, float 0x3FE15F6FE0000000, float 0x3FE17E9100000000, float 0x3FE19E83E0000000, float 0x3FE1BE76C0000000, float 0x3FE1DD9800000000, float 0x3FE1FD8AE0000000, float 0x3FE21CAC00000000, float 0x3FE23C9EE0000000, float 0x3FE25BC020000000, float 0x3FE27AE140000000, float 0x3FE29A0280000000, float 0x3FE2B923A0000000, float 0x3FE2D844E0000000, float 0x3FE2F76600000000, float 0x3FE315B580000000, float 0x3FE334D6A0000000, float 0x3FE3532620000000, float 0x3FE3724740000000, float 0x3FE39096C0000000, float 0x3FE3AEE640000000, float 0x3FE3CD35A0000000, float 0x3FE3EB8520000000, float 0x3FE40902E0000000, float 0x3FE4275260000000, float 0x3FE444D020000000, float 0x3FE4624DE0000000, float 0x3FE47FCBA0000000, float 0x3FE49D4960000000, float 0x3FE4BAC720000000, float 0x3FE4D844E0000000, float 0x3FE4F4F0E0000000, float 0x3FE5119CE0000000, float 0x3FE52E48E0000000, float 0x3FE54AF500000000, float 0x3FE567A100000000, float 0x3FE5837B40000000, float 0x3FE5A02760000000, float 0x3FE5BC01A0000000, float 0x3FE5D7DC00000000, float 0x3FE5F2E480000000, float 0x3FE60EBEE0000000, float 0x3FE629C780000000, float 0x3FE645A1C0000000, float 0x3FE660AA60000000, float 0x3FE67AE140000000, float 0x3FE695E9E0000000, float 0x3FE6B020C0000000, float 0x3FE6CA57A0000000, float 0x3FE6E48E80000000, float 0x3FE6FEC560000000, float 0x3FE7182AA0000000, float 0x3FE7326180000000, float 0x3FE74BC6A0000000, float 0x3FE7652BE0000000, float 0x3FE77DBF40000000, float 0x3FE7972480000000, float 0x3FE7AFB7E0000000, float 0x3FE7C84B60000000, float 0x3FE7E00D20000000, float 0x3FE7F8A0A0000000, float 0x3FE8106240000000, float 0x3FE8282400000000, float 0x3FE83FE5C0000000, float 0x3FE857A780000000, float 0x3FE86E9780000000, float 0x3FE88587A0000000, float 0x3FE89C77A0000000, float 0x3FE8B295E0000000, float 0x3FE8C98600000000, float 0x3FE8DFA440000000, float 0x3FE8F5C280000000, float 0x3FE90BE0E0000000, float 0x3FE9212D80000000, float 0x3FE9367A00000000, float 0x3FE94BC6A0000000, float 0x3FE9611340000000, float 0x3FE9765FE0000000, float 0x3FE98ADAC0000000, float 0x3FE99F55A0000000, float 0x3FE9B3D080000000, float 0x3FE9C779A0000000, float 0x3FE9DBF480000000, float 0x3FE9EF9DC0000000, float 0x3FEA0346E0000000, float 0x3FEA161E40000000, float 0x3FEA29C780000000, float 0x3FEA3C9EE0000000, float 0x3FEA4F7660000000, float 0x3FEA624DE0000000, float 0x3FEA745380000000, float 0x3FEA865940000000, float 0x3FEA985F00000000, float 0x3FEAAA64C0000000, float 0x3FEABC6A80000000, float 0x3FEACD9E80000000, float 0x3FEADED280000000, float 0x3FEAF00680000000, float 0x3FEB013AA0000000, float 0x3FEB119CE0000000, float 0x3FEB22D0E0000000, float 0x3FEB333340000000, float 0x3FEB439580000000, float 0x3FEB532620000000, float 0x3FEB638860000000, float 0x3FEB731900000000, float 0x3FEB82A9A0000000, float 0x3FEB916880000000, float 0x3FEBA0F900000000, float 0x3FEBAFB7E0000000, float 0x3FEBBE76C0000000, float 0x3FEBCD35A0000000, float 0x3FEBDBF480000000, float 0x3FEBE9E1C0000000, float 0x3FEBF8A0A0000000, float 0x3FEC068DC0000000, float 0x3FEC147AE0000000, float 0x3FEC219660000000, float 0x3FEC2F8380000000, float 0x3FEC3C9EE0000000, float 0x3FEC49BA60000000, float 0x3FEC56D5C0000000, float 0x3FEC63F140000000, float 0x3FEC710CC0000000, float 0x3FEC7D5660000000, float 0x3FEC89A020000000, float 0x3FEC95E9E0000000, float 0x3FECA233A0000000, float 0x3FECAE7D60000000, float 0x3FECB9F560000000, float 0x3FECC56D60000000, float 0x3FECD0E560000000, float 0x3FECDC5D60000000, float 0x3FECE7D560000000, float 0x3FECF34D60000000, float 0x3FECFDF3C0000000, float 0x3FED089A00000000, float 0x3FED134040000000, float 0x3FED1DE6A0000000, float 0x3FED288CE0000000, float 0x3FED326180000000, float 0x3FED3D07C0000000, float 0x3FED46DC60000000, float 0x3FED50B100000000, float 0x3FED5A8580000000, float 0x3FED645A20000000, float 0x3FED6D5D00000000, float 0x3FED773180000000, float 0x3FED803460000000, float 0x3FED893740000000, float 0x3FED923A20000000, float 0x3FED9B3D00000000, float 0x3FEDA43FE0000000, float 0x3FEDAD42C0000000, float 0x3FEDB573E0000000, float 0x3FEDBDA520000000, float 0x3FEDC6A7E0000000, float 0x3FEDCED920000000, float 0x3FEDD70A40000000, float 0x3FEDDE69A0000000, float 0x3FEDE69AE0000000, float 0x3FEDEDFA40000000, float 0x3FEDF62B60000000, float 0x3FEDFD8AE0000000, float 0x3FEE04EA40000000, float 0x3FEE0C49C0000000, float 0x3FEE13A920000000, float 0x3FEE1B08A0000000, float 0x3FEE226800000000, float 0x3FEE28F5C0000000, float 0x3FEE2F8380000000, float 0x3FEE36E2E0000000, float 0x3FEE3D70A0000000, float 0x3FEE43FE60000000, float 0x3FEE4A8C20000000, float 0x3FEE5119C0000000, float 0x3FEE57A780000000, float 0x3FEE5D6380000000, float 0x3FEE63F140000000, float 0x3FEE69AD40000000, float 0x3FEE6F6940000000, float 0x3FEE75F700000000, float 0x3FEE7BB300000000, float 0x3FEE816F00000000, float 0x3FEE872B00000000, float 0x3FEE8C1540000000, float 0x3FEE91D140000000, float 0x3FEE978D40000000, float 0x3FEE9C77A0000000, float 0x3FEEA233A0000000, float 0x3FEEA71DE0000000, float 0x3FEEAC0840000000, float 0x3FEEB1C440000000, float 0x3FEEB6AE80000000, float 0x3FEEBB98C0000000, float 0x3FEEC08320000000, float 0x3FEEC49BA0000000, float 0x3FEEC98600000000, float 0x3FEECE7040000000, float 0x3FEED288C0000000, float 0x3FEED77320000000, float 0x3FEEDB8BA0000000, float 0x3FEEE07600000000, float 0x3FEEE48E80000000, float 0x3FEEE8A720000000, float 0x3FEEECBFC0000000, float 0x3FEEF0D840000000, float 0x3FEEF4F0E0000000, float 0x3FEEF90960000000, float 0x3FEEFD2200000000, float 0x3FEF013AA0000000, float 0x3FEF048160000000, float 0x3FEF089A00000000, float 0x3FEF0BE0E0000000, float 0x3FEF0FF980000000, float 0x3FEF134040000000, float 0x3FEF1758E0000000, float 0x3FEF1A9FC0000000, float 0x3FEF1DE6A0000000, float 0x3FEF212D80000000, float 0x3FEF247460000000, float 0x3FEF27BB20000000, float 0x3FEF2B0200000000, float 0x3FEF2E48E0000000, float 0x3FEF318FC0000000, float 0x3FEF34D6A0000000, float 0x3FEF381D80000000, float 0x3FEF3A92A0000000, float 0x3FEF3DD980000000, float 0x3FEF412060000000, float 0x3FEF439580000000, float 0x3FEF46DC60000000, float 0x3FEF495180000000, float 0x3FEF4C9860000000, float 0x3FEF4F0D80000000, float 0x3FEF5182A0000000, float 0x3FEF53F7C0000000, float 0x3FEF573EA0000000, float 0x3FEF59B3E0000000, float 0x3FEF5C2900000000, float 0x3FEF5E9E20000000, float 0x3FEF611340000000, float 0x3FEF638860000000, float 0x3FEF65FD80000000, float 0x3FEF6872C0000000, float 0x3FEF6A1620000000]
@sigmoid.index = internal global i32 0
define float @sigmoid(float %0) {
%2 = alloca float
store float %0, float* %2
%3 = load float, float* %2
%4 = fdiv float %3, 4.000000e+00
%5 = fadd float %4, 1.000000e+00
%6 = fdiv float %5, 2.000000e+00
%7 = fmul float %6, 5.120000e+02
%8 = fptosi float %7 to i32
store i32 %8, i32* @sigmoid.index
%9 = load i32, i32* @sigmoid.index
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [512 x float], [512 x float]* @sigmoid.values, i64 0, i64 %10
%12 = load float, float* %11
ret float %12
}

LLVM IR (-O2):
@sigmoid.values = internal unnamed_addr constant [512 x float] [float 0x3F926E9780000000, float 0x3F92BD3C40000000, float 0x3F92F1AA00000000, float 0x3F93404EA0000000, float 0x3F938EF340000000, float 0x3F93DD9800000000, float 0x3F942C3CA0000000, float 0x3F947AE140000000, float 0x3F94C98600000000, float 0x3F95182AA0000000, float 0x3F95810620000000, float 0x3F95CFAAC0000000, float 0x3F961E4F80000000, float 0x3F966CF420000000, float 0x3F96D5CFA0000000, float 0x3F97247460000000, float 0x3F978D4FE0000000, float 0x3F97DBF480000000, float 0x3F9844D020000000, float 0x3F98ADABA0000000, float 0x3F98FC5040000000, float 0x3F99652BE0000000, float 0x3F99CE0760000000, float 0x3F9A36E2E0000000, float 0x3F9A9FBE80000000, float 0x3F9B089A00000000, float 0x3F9B717580000000, float 0x3F9BDA5120000000, float 0x3F9C432CA0000000, float 0x3F9CAC0840000000, float 0x3F9D14E3C0000000, float 0x3F9D97F620000000, float 0x3F9E00D1C0000000, float 0x3F9E83E420000000, float 0x3F9EECBFC0000000, float 0x3F9F6FD220000000, float 0x3F9FD8ADA0000000, float 0x3FA02DE000000000, float 0x3FA06F6940000000, float 0x3FA0B0F280000000, float 0x3FA0F27BC0000000, float 0x3FA13404E0000000, float 0x3FA1758E20000000, float 0x3FA1B71760000000, float 0x3FA1F8A0A0000000, float 0x3FA2474540000000, float 0x3FA288CE80000000, float 0x3FA2D77320000000, float 0x3FA318FC60000000, float 0x3FA367A100000000, float 0x3FA3B645A0000000, float 0x3FA3F7CEE0000000, float 0x3FA4467380000000, float 0x3FA4951820000000, float 0x3FA4E3BCE0000000, float 0x3FA53F7CE0000000, float 0x3FA58E21A0000000, float 0x3FA5DCC640000000, float 0x3FA6388660000000, float 0x3FA6872B00000000, float 0x3FA6E2EB20000000, float 0x3FA73EAB40000000, float 0x3FA78D4FE0000000, float 0x3FA7E91000000000, float 0x3FA844D020000000, float 0x3FA8A09020000000, float 0x3FA9096BC0000000, float 0x3FA9652BE0000000, float 0x3FA9C0EBE0000000, float 0x3FAA29C780000000, float 0x3FAA8587A0000000, float 0x3FAAEE6320000000, float 0x3FAB573EA0000000, float 0x3FABC01A40000000, float 0x3FAC28F5C0000000, float 0x3FAC91D140000000, float 0x3FAD07C840000000, float 0x3FAD70A3E0000000, float 0x3FADD97F60000000, float 0x3FAE4F7660000000, float 0x3FAEC56D60000000, float 0x3FAF3B6460000000, float 0x3FAFB15B60000000, float 0x3FB013A920000000, float 0x3FB04EA4A0000000, float 0x3FB0902DE0000000, float 0x3FB0CB2960000000, float 0x3FB10CB2A0000000, float 0x3FB147AE20000000, float 0x3FB1893740000000, float 0x3FB1CAC080000000, float 0x3FB212D780000000, float 0x3FB25460A0000000, float 0x3FB295E9E0000000, float 0x3FB2DE00E0000000, float 0x3FB32617C0000000, float 0x3FB36E2EC0000000, float 0x3FB3B645A0000000, float 0x3FB3FE5CA0000000, float 0x3FB4467380000000, float 0x3FB4951820000000, float 0x3FB4DD2F20000000, float 0x3FB52BD3C0000000, float 0x3FB57A7860000000, float 0x3FB5C91D20000000, float 0x3FB617C1C0000000, float 0x3FB66CF420000000, float 0x3FB6BB98C0000000, float 0x3FB710CB20000000, float 0x3FB765FD80000000, float 0x3FB7BB2FE0000000, float 0x3FB8106240000000, float 0x3FB86594A0000000, float 0x3FB8C154C0000000, float 0x3FB91D14E0000000, float 0x3FB978D500000000, float 0x3FB9D49520000000, float 0x3FBA305540000000, float 0x3FBA8C1540000000, float 0x3FBAEE6320000000, float 0x3FBB50B100000000, float 0x3FBBB2FEC0000000, float 0x3FBC154CA0000000, float 0x3FBC779A60000000, float 0x3FBCE07600000000, float 0x3FBD495180000000, float 0x3FBDB22D00000000, float 0x3FBE1B08A0000000, float 0x3FBE83E420000000, float 0x3FBEF34D60000000, float 0x3FBF5C2900000000, float 0x3FBFCB9240000000, float 0x3FC01D7DC0000000, float 0x3FC0587940000000, float 0x3FC0902DE0000000, float 0x3FC0CB2960000000, float 0x3FC10624E0000000, float 0x3FC1412060000000, float 0x3FC17C1BE0000000, float 0x3FC1BA5E40000000, float 0x3FC1F559C0000000, float 0x3FC2339C00000000, float 0x3FC271DE60000000, float 0x3FC2B367A0000000, float 0x3FC2F1AA00000000, float 0x3FC3333340000000, float 0x3FC374BC60000000, float 0x3FC3B98C80000000, float 0x3FC3FB15C0000000, float 0x3FC43FE5C0000000, float 0x3FC484B5E0000000, float 0x3FC4C98600000000, float 0x3FC50E5600000000, float 0x3FC5566D00000000, float 0x3FC59E83E0000000, float 0x3FC5E69AE0000000, float 0x3FC62EB1C0000000, float 0x3FC676C8C0000000, float 0x3FC6C22680000000, float 0x3FC70D8440000000, float 0x3FC758E220000000, float 0x3FC7A786C0000000, float 0x3FC7F2E480000000, float 0x3FC8418940000000, float 0x3FC8902DE0000000, float 0x3FC8E21960000000, float 0x3FC930BE00000000, float 0x3FC982A9A0000000, float 0x3FC9D49520000000, float 0x3FCA2680A0000000, float 0x3FCA7BB300000000, float 0x3FCAD0E560000000, float 0x3FCB2617C0000000, float 0x3FCB7B4A20000000, float 0x3FCBD07C80000000, float 0x3FCC28F5C0000000, float 0x3FCC816F00000000, float 0x3FCCD9E840000000, float 0x3FCD35A860000000, float 0x3FCD8E21A0000000, float 0x3FCDE9E1C0000000, float 0x3FCE45A1C0000000, float 0x3FCEA161E0000000, float 0x3FCF0068E0000000, float 0x3FCF5F6FE0000000, float 0x3FCFBE76C0000000, float 0x3FD00EBEE0000000, float 0x3FD03FE5C0000000, float 0x3FD06F6940000000, float 0x3FD0A09020000000, float 0x3FD0D1B720000000, float 0x3FD1048160000000, float 0x3FD135A860000000, float 0x3FD16872C0000000, float 0x3FD19B3D00000000, float 0x3FD1CFAAC0000000, float 0x3FD2027520000000, float 0x3FD236E2E0000000, float 0x3FD26B50C0000000, float 0x3FD29FBE80000000, float 0x3FD2D42C40000000, float 0x3FD30A3D80000000, float 0x3FD33EAB40000000, float 0x3FD374BC60000000, float 0x3FD3AC7100000000, float 0x3FD3E28240000000, float 0x3FD41A36E0000000, float 0x3FD4504820000000, float 0x3FD487FCC0000000, float 0x3FD4BFB160000000, float 0x3FD4F90960000000, float 0x3FD530BE00000000, float 0x3FD56A1620000000, float 0x3FD5A36E20000000, float 0x3FD5DCC640000000, float 0x3FD6161E40000000, float 0x3FD64F7660000000, float 0x3FD68A71E0000000, float 0x3FD6C56D60000000, float 0x3FD70068E0000000, float 0x3FD73B6460000000, float 0x3FD7765FE0000000, float 0x3FD7B15B60000000, float 0x3FD7EDFA40000000, float 0x3FD828F5C0000000, float 0x3FD86594A0000000, float 0x3FD8A233A0000000, float 0x3FD8DED280000000, float 0x3FD91B7180000000, float 0x3FD959B3E0000000, float 0x3FD99652C0000000, float 0x3FD9D49520000000, float 0x3FDA113400000000, float 0x3FDA4F7660000000, float 0x3FDA8DB8C0000000, float 0x3FDACBFB20000000, float 0x3FDB0A3D80000000, float 0x3FDB487FC0000000, float 0x3FDB86C220000000, float 0x3FDBC6A7E0000000, float 0x3FDC04EA40000000, float 0x3FDC44D020000000, float 0x3FDC831260000000, float 0x3FDCC2F840000000, float 0x3FDD02DE00000000, float 0x3FDD412060000000, float 0x3FDD810620000000, float 0x3FDDC0EBE0000000, float 0x3FDE00D1C0000000, float 0x3FDE40B780000000, float 0x3FDE809D40000000, float 0x3FDEC08320000000, float 0x3FDF0068E0000000, float 0x3FDF404EA0000000, float 0x3FDF803460000000, float 0x3FDFC01A40000000, float 5.000000e-01, float 0x3FE01FF2E0000000, float 0x3FE03FE5C0000000, float 0x3FE05FD8A0000000, float 0x3FE07FCBA0000000, float 0x3FE09FBE80000000, float 0x3FE0BFB160000000, float 0x3FE0DFA440000000, float 0x3FE0FF9720000000, float 0x3FE11F8A00000000, float 0x3FE13F7CE0000000, float 0x3FE15F6FE0000000, float 0x3FE17E9100000000, float 0x3FE19E83E0000000, float 0x3FE1BE76C0000000, float 0x3FE1DD9800000000, float 0x3FE1FD8AE0000000, float 0x3FE21CAC00000000, float 0x3FE23C9EE0000000, float 0x3FE25BC020000000, float 0x3FE27AE140000000, float 0x3FE29A0280000000, float 0x3FE2B923A0000000, float 0x3FE2D844E0000000, float 0x3FE2F76600000000, float 0x3FE315B580000000, float 0x3FE334D6A0000000, float 0x3FE3532620000000, float 0x3FE3724740000000, float 0x3FE39096C0000000, float 0x3FE3AEE640000000, float 0x3FE3CD35A0000000, float 0x3FE3EB8520000000, float 0x3FE40902E0000000, float 0x3FE4275260000000, float 0x3FE444D020000000, float 0x3FE4624DE0000000, float 0x3FE47FCBA0000000, float 0x3FE49D4960000000, float 0x3FE4BAC720000000, float 0x3FE4D844E0000000, float 0x3FE4F4F0E0000000, float 0x3FE5119CE0000000, float 0x3FE52E48E0000000, float 0x3FE54AF500000000, float 0x3FE567A100000000, float 0x3FE5837B40000000, float 0x3FE5A02760000000, float 0x3FE5BC01A0000000, float 0x3FE5D7DC00000000, float 0x3FE5F2E480000000, float 0x3FE60EBEE0000000, float 0x3FE629C780000000, float 0x3FE645A1C0000000, float 0x3FE660AA60000000, float 0x3FE67AE140000000, float 0x3FE695E9E0000000, float 0x3FE6B020C0000000, float 0x3FE6CA57A0000000, float 0x3FE6E48E80000000, float 0x3FE6FEC560000000, float 0x3FE7182AA0000000, float 0x3FE7326180000000, float 0x3FE74BC6A0000000, float 0x3FE7652BE0000000, float 0x3FE77DBF40000000, float 0x3FE7972480000000, float 0x3FE7AFB7E0000000, float 0x3FE7C84B60000000, float 0x3FE7E00D20000000, float 0x3FE7F8A0A0000000, float 0x3FE8106240000000, float 0x3FE8282400000000, float 0x3FE83FE5C0000000, float 0x3FE857A780000000, float 0x3FE86E9780000000, float 0x3FE88587A0000000, float 0x3FE89C77A0000000, float 0x3FE8B295E0000000, float 0x3FE8C98600000000, float 0x3FE8DFA440000000, float 0x3FE8F5C280000000, float 0x3FE90BE0E0000000, float 0x3FE9212D80000000, float 0x3FE9367A00000000, float 0x3FE94BC6A0000000, float 0x3FE9611340000000, float 0x3FE9765FE0000000, float 0x3FE98ADAC0000000, float 0x3FE99F55A0000000, float 0x3FE9B3D080000000, float 0x3FE9C779A0000000, float 0x3FE9DBF480000000, float 0x3FE9EF9DC0000000, float 0x3FEA0346E0000000, float 0x3FEA161E40000000, float 0x3FEA29C780000000, float 0x3FEA3C9EE0000000, float 0x3FEA4F7660000000, float 0x3FEA624DE0000000, float 0x3FEA745380000000, float 0x3FEA865940000000, float 0x3FEA985F00000000, float 0x3FEAAA64C0000000, float 0x3FEABC6A80000000, float 0x3FEACD9E80000000, float 0x3FEADED280000000, float 0x3FEAF00680000000, float 0x3FEB013AA0000000, float 0x3FEB119CE0000000, float 0x3FEB22D0E0000000, float 0x3FEB333340000000, float 0x3FEB439580000000, float 0x3FEB532620000000, float 0x3FEB638860000000, float 0x3FEB731900000000, float 0x3FEB82A9A0000000, float 0x3FEB916880000000, float 0x3FEBA0F900000000, float 0x3FEBAFB7E0000000, float 0x3FEBBE76C0000000, float 0x3FEBCD35A0000000, float 0x3FEBDBF480000000, float 0x3FEBE9E1C0000000, float 0x3FEBF8A0A0000000, float 0x3FEC068DC0000000, float 0x3FEC147AE0000000, float 0x3FEC219660000000, float 0x3FEC2F8380000000, float 0x3FEC3C9EE0000000, float 0x3FEC49BA60000000, float 0x3FEC56D5C0000000, float 0x3FEC63F140000000, float 0x3FEC710CC0000000, float 0x3FEC7D5660000000, float 0x3FEC89A020000000, float 0x3FEC95E9E0000000, float 0x3FECA233A0000000, float 0x3FECAE7D60000000, float 0x3FECB9F560000000, float 0x3FECC56D60000000, float 0x3FECD0E560000000, float 0x3FECDC5D60000000, float 0x3FECE7D560000000, float 0x3FECF34D60000000, float 0x3FECFDF3C0000000, float 0x3FED089A00000000, float 0x3FED134040000000, float 0x3FED1DE6A0000000, float 0x3FED288CE0000000, float 0x3FED326180000000, float 0x3FED3D07C0000000, float 0x3FED46DC60000000, float 0x3FED50B100000000, float 0x3FED5A8580000000, float 0x3FED645A20000000, float 0x3FED6D5D00000000, float 0x3FED773180000000, float 0x3FED803460000000, float 0x3FED893740000000, float 0x3FED923A20000000, float 0x3FED9B3D00000000, float 0x3FEDA43FE0000000, float 0x3FEDAD42C0000000, float 0x3FEDB573E0000000, float 0x3FEDBDA520000000, float 0x3FEDC6A7E0000000, float 0x3FEDCED920000000, float 0x3FEDD70A40000000, float 0x3FEDDE69A0000000, float 0x3FEDE69AE0000000, float 0x3FEDEDFA40000000, float 0x3FEDF62B60000000, float 0x3FEDFD8AE0000000, float 0x3FEE04EA40000000, float 0x3FEE0C49C0000000, float 0x3FEE13A920000000, float 0x3FEE1B08A0000000, float 0x3FEE226800000000, float 0x3FEE28F5C0000000, float 0x3FEE2F8380000000, float 0x3FEE36E2E0000000, float 0x3FEE3D70A0000000, float 0x3FEE43FE60000000, float 0x3FEE4A8C20000000, float 0x3FEE5119C0000000, float 0x3FEE57A780000000, float 0x3FEE5D6380000000, float 0x3FEE63F140000000, float 0x3FEE69AD40000000, float 0x3FEE6F6940000000, float 0x3FEE75F700000000, float 0x3FEE7BB300000000, float 0x3FEE816F00000000, float 0x3FEE872B00000000, float 0x3FEE8C1540000000, float 0x3FEE91D140000000, float 0x3FEE978D40000000, float 0x3FEE9C77A0000000, float 0x3FEEA233A0000000, float 0x3FEEA71DE0000000, float 0x3FEEAC0840000000, float 0x3FEEB1C440000000, float 0x3FEEB6AE80000000, float 0x3FEEBB98C0000000, float 0x3FEEC08320000000, float 0x3FEEC49BA0000000, float 0x3FEEC98600000000, float 0x3FEECE7040000000, float 0x3FEED288C0000000, float 0x3FEED77320000000, float 0x3FEEDB8BA0000000, float 0x3FEEE07600000000, float 0x3FEEE48E80000000, float 0x3FEEE8A720000000, float 0x3FEEECBFC0000000, float 0x3FEEF0D840000000, float 0x3FEEF4F0E0000000, float 0x3FEEF90960000000, float 0x3FEEFD2200000000, float 0x3FEF013AA0000000, float 0x3FEF048160000000, float 0x3FEF089A00000000, float 0x3FEF0BE0E0000000, float 0x3FEF0FF980000000, float 0x3FEF134040000000, float 0x3FEF1758E0000000, float 0x3FEF1A9FC0000000, float 0x3FEF1DE6A0000000, float 0x3FEF212D80000000, float 0x3FEF247460000000, float 0x3FEF27BB20000000, float 0x3FEF2B0200000000, float 0x3FEF2E48E0000000, float 0x3FEF318FC0000000, float 0x3FEF34D6A0000000, float 0x3FEF381D80000000, float 0x3FEF3A92A0000000, float 0x3FEF3DD980000000, float 0x3FEF412060000000, float 0x3FEF439580000000, float 0x3FEF46DC60000000, float 0x3FEF495180000000, float 0x3FEF4C9860000000, float 0x3FEF4F0D80000000, float 0x3FEF5182A0000000, float 0x3FEF53F7C0000000, float 0x3FEF573EA0000000, float 0x3FEF59B3E0000000, float 0x3FEF5C2900000000, float 0x3FEF5E9E20000000, float 0x3FEF611340000000, float 0x3FEF638860000000, float 0x3FEF65FD80000000, float 0x3FEF6872C0000000, float 0x3FEF6A1620000000]
define float @sigmoid(float %0) {
%2 = fmul float %0, 2.500000e-01
%3 = fadd float %2, 1.000000e+00
%4 = fmul float %3, 5.000000e-01
%5 = fmul float %4, 5.120000e+02
%6 = fptosi float %5 to i32
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds [512 x float], [512 x float]* @sigmoid.values, i64 0, i64 %7
%9 = load float, float* %8
ret float %9
}