aboutsummaryrefslogtreecommitdiff
path: root/pl/math/hornerf.h
blob: 0703817b0fbb3f883bda22aea45e57985a670d7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * Helper macros for double-precision Horner polynomial evaluation.
 *
 * Copyright (c) 2022-2023, Arm Limited.
 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
 */

#if V_SUPPORTED
#define FMA v_fma_f32
#else
#define FMA fmaf
#endif

#include "horner_wrap.h"