17#if defined(__cplusplus)
20#if defined(LIBA_POLY_C)
22#define A_INTERN A_INLINE
28#if !defined A_HAVE_INLINE || defined(LIBA_POLY_C)
32#if defined(A_HAVE_INLINE) || defined(LIBA_POLY_C)
35 if (n > 1) { a_poly_swap_(a, a + n); }
49#if !defined A_HAVE_INLINE || defined(LIBA_POLY_C)
53#if defined(A_HAVE_INLINE) || defined(LIBA_POLY_C)
56 return n ? a_poly_eval_(a, a + n, x) : 0;
70#if !defined A_HAVE_INLINE || defined(LIBA_POLY_C)
74#if defined(A_HAVE_INLINE) || defined(LIBA_POLY_C)
77 return n ? a_poly_evar_(a, a + n, x) : 0;
81#if defined(LIBA_POLY_C)
83#define A_INTERN static A_INLINE
85#if defined(__cplusplus)
double a_float
compiler built-in floating-point number type
Definition a.h:1003
a_float a_poly_eval(a_float const *a, a_size n, a_float x)
horner function for polynomial
void a_poly_swap(a_float *a, a_size n)
swap between and
a_float a_poly_evar(a_float const *a, a_size n, a_float x)
horner function for polynomial
size_t a_size
unsigned integer type returned by the sizeof operator
Definition a.h:823