aboutsummaryrefslogtreecommitdiff
path: root/pl/math/hornerf.h
blob: bec1593bc108857dce86311d8c5c0ae274812b70 (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, 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"