blob: b144e8f4992d601ef312ceddd8069e6f645a0c03 [file] [log] [blame]
/*
* Coefficients for vector log2f
*
* Copyright (c) 2022-2023, Arm Limited.
* SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
*/
#include "math_config.h"
/* See tools/v_log2f.sollya for the algorithm used to generate these
coefficients. */
const struct v_log2f_data __v_log2f_data
= {.poly = {0x1.715476p0f, /* (float)(1 / ln(2)). */
-0x1.715458p-1f, 0x1.ec701cp-2f, -0x1.7171a4p-2f, 0x1.27a0b8p-2f,
-0x1.e5143ep-3f, 0x1.9d8ecap-3f, -0x1.c675bp-3f, 0x1.9e495p-3f}};