aboutsummaryrefslogtreecommitdiff
path: root/math/v_log.h
blob: bcc2fa6fa9305a936ae6b6e25997a27c2c4ab4e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Declarations for double-precision log(x) vector function.
 *
 * Copyright (c) 2019, Arm Limited.
 * SPDX-License-Identifier: MIT
 */

#include "v_math.h"
#if WANT_VMATH

#define V_LOG_TABLE_BITS 7

extern const struct v_log_data
{
  f64_t invc;
  f64_t logc;
} __v_log_data[1 << V_LOG_TABLE_BITS] HIDDEN;
#endif