aboutsummaryrefslogtreecommitdiff
path: root/contrib/arm-optimized-routines/pl/math/poly_scalar_f64.h
blob: 207dccee30ad076a06409fdc50e33206cf3fe564 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Helpers for evaluating polynomials on double-precision scalar input, using
 * various schemes.
 *
 * Copyright (c) 2023, Arm Limited.
 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
 */

#ifndef PL_MATH_POLY_SCALAR_F64_H
#define PL_MATH_POLY_SCALAR_F64_H

#include <math.h>

/* Wrap scalar f64 helpers: evaluation of some scheme/order has form:
   [scheme]_[order]_f64.  */
#define VTYPE double
#define FMA fma
#define VWRAP(f) f##_f64
#include "poly_generic.h"
#undef VWRAP
#undef FMA
#undef VTYPE

#endif