1/* 2 * Helpers for evaluating polynomials on double-precision scalar input, using 3 * various schemes. 4 * 5 * Copyright (c) 2023, Arm Limited. 6 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 7 */ 8 9#ifndef PL_MATH_POLY_SCALAR_F64_H 10#define PL_MATH_POLY_SCALAR_F64_H 11 12#include <math.h> 13 14/* Wrap scalar f64 helpers: evaluation of some scheme/order has form: 15 [scheme]_[order]_f64. */ 16#define VTYPE double 17#define FMA fma 18#define VWRAP(f) f##_f64 19#include "poly_generic.h" 20#undef VWRAP 21#undef FMA 22#undef VTYPE 23 24#endif 25