1 // Copyright 2020 Google LLC 2 // 3 // This source code is licensed under the BSD-style license found in the 4 // LICENSE file in the root directory of this source tree. 5 6 #include <xnnpack/common.h> 7 8 9 // Table of exp2(k / 8) values decremented (as integer) by (k << 20), k = 0..7 10 XNN_INTERNAL const float xnn_table_exp2minus_k_over_8[8] = { 11 0x1.000000p+0f, 0x1.F72B84p-1f, 0x1.F06FE0p-1f, 0x1.EBFDAEp-1f, 12 0x1.EA09E6p-1f, 0x1.EACE54p-1f, 0x1.EE89FAp-1f, 0x1.F5818Ep-1f, 13 }; 14