Macros | |
#define | A_FLOAT_TYPE A_FLOAT_DOUBLE |
floating-point number bytes | |
#define | A_FLOAT_SINGLE 0x04 |
#define | A_FLOAT_DOUBLE 0x08 |
#define | A_FLOAT_EXTEND 0x10 |
#define | A_FLOAT double |
floating-point number stored using double | |
#define | A_FLOAT_DIG DBL_DIG |
#define | A_FLOAT_EPSILON DBL_EPSILON |
#define | A_FLOAT_MANT_DIG DBL_MANT_DIG |
#define | A_FLOAT_MAX DBL_MAX |
#define | A_FLOAT_MAX_10_EXP DBL_MAX_10_EXP |
#define | A_FLOAT_MAX_EXP DBL_MAX_EXP |
#define | A_FLOAT_MIN DBL_MIN |
#define | A_FLOAT_MIN_10_EXP DBL_MIN_10_EXP |
#define | A_FLOAT_MIN_EXP DBL_MIN_EXP |
#define | A_FLOAT_C(X) |
expands to a floating-point constant expression having the value specified by its argument and the type floating-point number | |
#define | A_FLOAT_F(F) |
expands to a floating-point function expression having the value specified by its argument and the type floating-point number | |
#define | A_FLOAT_PRI |
format constants for the fprintf family of functions | |
#define | A_FLOAT_SCN "l" |
format constants for the fscanf family of functions | |
#define | A_FLOAT_INF a_cast_s(A_FLOAT, A_F64_INF) |
#define | A_FLOAT_NAN (A_FLOAT_C(0.0) * A_FLOAT_INF) |
#define | a_float_c(x) |
static cast to floating-point number | |
#define | a_float_(_, x) |
#define | A_FLOAT_E A_FLOAT_C(A_E) |
#define | A_FLOAT_LOG2E A_FLOAT_C(A_LOG2E) |
#define | A_FLOAT_LOG10E A_FLOAT_C(A_LOG10E) |
#define | A_FLOAT_LN2 A_FLOAT_C(A_LN2) |
#define | A_FLOAT_LN1_2 A_FLOAT_C(A_LN1_2) |
#define | A_FLOAT_LN10 A_FLOAT_C(A_LN10) |
#define | A_FLOAT_LN1_10 A_FLOAT_C(A_LN1_10) |
#define | A_FLOAT_PI A_FLOAT_C(A_PI) |
#define | A_FLOAT_TAU A_FLOAT_C(A_TAU) |
#define | A_FLOAT_PI_2 A_FLOAT_C(A_PI_2) |
#define | A_FLOAT_PI_4 A_FLOAT_C(A_PI_4) |
#define | A_FLOAT_1_PI A_FLOAT_C(A_1_PI) |
#define | A_FLOAT_2_PI A_FLOAT_C(A_2_PI) |
#define | A_FLOAT_1_TAU A_FLOAT_C(A_1_TAU) |
#define | A_FLOAT_2_SQRTPI A_FLOAT_C(A_2_SQRTPI) |
#define | A_FLOAT_SQRT2 A_FLOAT_C(A_SQRT2) |
#define | A_FLOAT_SQRT1_2 A_FLOAT_C(A_SQRT1_2) |
#define | A_FLOAT_SQRT3 A_FLOAT_C(A_SQRT3) |
#define | A_FLOAT_SQRT1_3 A_FLOAT_C(A_SQRT1_3) |
#define | a_float_modf A_FLOAT_F(modf) |
#define | a_float_frexp A_FLOAT_F(frexp) |
#define | a_float_ldexp A_FLOAT_F(ldexp) |
#define | a_float_scalbn A_FLOAT_F(scalbn) |
#define | a_float_scalbln A_FLOAT_F(scalbln) |
#define | a_float_nextafter A_FLOAT_F(nextafter) |
#define | a_float_nexttoward A_FLOAT_F(nexttoward) |
#define | a_float_copysign A_FLOAT_F(copysign) |
#define | a_float_ma A_FLOAT_F(fma) |
#define | a_float_nan A_FLOAT_F(nan) |
#define | a_float_abs A_FLOAT_F(fabs) |
#define | a_float_mod A_FLOAT_F(fmod) |
#define | a_float_max A_FLOAT_F(fmax) |
#define | a_float_min A_FLOAT_F(fmin) |
#define | a_float_dim A_FLOAT_F(fdim) |
#define | a_float_remquo A_FLOAT_F(remquo) |
#define | a_float_remainder A_FLOAT_F(remainder) |
#define | a_float_exp A_FLOAT_F(exp) |
#define | a_float_exp2 A_FLOAT_F(exp2) |
#define | a_float_expm1 A_FLOAT_F(expm1) |
#define | a_float_log A_FLOAT_F(log) |
#define | a_float_logb A_FLOAT_F(logb) |
#define | a_float_log2 A_FLOAT_F(log2) |
#define | a_float_log10 A_FLOAT_F(log10) |
#define | a_float_log1p A_FLOAT_F(log1p) |
#define | a_float_ilogb A_FLOAT_F(ilogb) |
#define | a_float_pow A_FLOAT_F(pow) |
#define | a_float_sqrt A_FLOAT_F(sqrt) |
#define | a_float_cbrt A_FLOAT_F(cbrt) |
#define | a_float_hypot A_FLOAT_F(hypot) |
#define | a_float_sin A_FLOAT_F(sin) |
#define | a_float_cos A_FLOAT_F(cos) |
#define | a_float_tan A_FLOAT_F(tan) |
#define | a_float_asin A_FLOAT_F(asin) |
#define | a_float_acos A_FLOAT_F(acos) |
#define | a_float_atan A_FLOAT_F(atan) |
#define | a_float_atan2 A_FLOAT_F(atan2) |
#define | a_float_sinh A_FLOAT_F(sinh) |
#define | a_float_cosh A_FLOAT_F(cosh) |
#define | a_float_tanh A_FLOAT_F(tanh) |
#define | a_float_asinh A_FLOAT_F(asinh) |
#define | a_float_acosh A_FLOAT_F(acosh) |
#define | a_float_atanh A_FLOAT_F(atanh) |
#define | a_float_erf A_FLOAT_F(erf) |
#define | a_float_erfc A_FLOAT_F(erfc) |
#define | a_float_tgamma A_FLOAT_F(tgamma) |
#define | a_float_lgamma A_FLOAT_F(lgamma) |
#define | a_float_ceil A_FLOAT_F(ceil) |
#define | a_float_floor A_FLOAT_F(floor) |
#define | a_float_trunc A_FLOAT_F(trunc) |
#define | a_float_round A_FLOAT_F(round) |
#define | a_float_lround A_FLOAT_F(lround) |
#define | a_float_llround A_FLOAT_F(llround) |
#define | a_float_nearbyint A_FLOAT_F(nearbyint) |
#define | a_float_rint A_FLOAT_F(rint) |
#define | a_float_lrintt A_FLOAT_F(lrint) |
#define | a_float_llrintt A_FLOAT_F(llrint) |
Typedefs | |
typedef double | a_float |
compiler built-in floating-point number type | |
Functions | |
a_float | a_float_asinh (a_float x) |
a_float | a_float_acosh (a_float x) |
a_float | a_float_atanh (a_float x) |
a_float | a_float_expm1 (a_float x) |
a_float | a_float_log1p (a_float x) |
a_float | a_float_atan2 (a_float y, a_float x) |
a_float | a_float_norm2 (a_float x, a_float y) |
a_float | a_float_norm3 (a_float x, a_float y, a_float z) |
a_float | a_float_sum (a_float const *p, a_size n) |
calculate the sum of a float array | |
a_float | a_float_sum1 (a_float const *p, a_size n) |
calculate the absolute sum of a float array | |
a_float | a_float_sum2 (a_float const *p, a_size n) |
calculate the sum of squares of a float array | |
a_float | a_float_mean (a_float const *p, a_size n) |
calculate the mean of a float array | |
void | a_float_swap (a_float *__restrict lhs, a_float *__restrict rhs, a_size n) |
swap two different a_float blocks of the same size | |
void | a_float_push_fore (a_float *p, a_size n, a_float x) |
push an element into the front of a float array | |
void | a_float_push_back (a_float *p, a_size n, a_float x) |
push an element into the end of a float array | |
void | a_float_push_fore_ (a_float *block_p, a_size block_n, a_float const *cache_p, a_size cache_n) |
push the elements into the front of a float array | |
void | a_float_push_back_ (a_float *block_p, a_size block_n, a_float const *cache_p, a_size cache_n) |
push the elements into the end of a float array | |
void | a_float_roll_fore (a_float *p, a_size n) |
roll forward the elements of a float array circularly | |
void | a_float_roll_back (a_float *p, a_size n) |
roll backward the elements of a float array circularly | |
void | a_float_roll_fore_ (a_float *block_p, a_size block_n, a_float *shift_p, a_size shift_n) |
roll forward the elements of a float array circularly | |
void | a_float_roll_back_ (a_float *block_p, a_size block_n, a_float *shift_p, a_size shift_n) |
roll backward the elements of a float array circularly | |
#define a_float_ | ( | _, | |
x ) |
#define A_FLOAT_2_SQRTPI A_FLOAT_C(A_2_SQRTPI) |
\( \frac{2}{\sqrt{\pi}} \)
#define A_FLOAT_C | ( | X | ) |
expands to a floating-point constant expression having the value specified by its argument and the type floating-point number
#define a_float_c | ( | x | ) |
static cast to floating-point number
#define A_FLOAT_F | ( | F | ) |
expands to a floating-point function expression having the value specified by its argument and the type floating-point number
calculate the mean of a float array
[in] | p | points to a float array |
[in] | n | number of a float array |
push an element into the end of a float array
[in] | p | points to a float array |
[in] | n | number of a float array |
[in] | x | value |
void a_float_push_back_ | ( | a_float * | block_p, |
a_size | block_n, | ||
a_float const * | cache_p, | ||
a_size | cache_n ) |
push the elements into the end of a float array
[in] | block_p | points to a float array |
[in] | block_n | number of a float array |
[in] | cache_p | points to a cache array |
[in] | cache_n | number of a cache array |
push an element into the front of a float array
[in] | p | points to a float array |
[in] | n | number of a float array |
[in] | x | value |
void a_float_push_fore_ | ( | a_float * | block_p, |
a_size | block_n, | ||
a_float const * | cache_p, | ||
a_size | cache_n ) |
push the elements into the front of a float array
[in] | block_p | points to a float array |
[in] | block_n | number of a float array |
[in] | cache_p | points to a cache array |
[in] | cache_n | number of a cache array |
roll backward the elements of a float array circularly
[in] | p | points to a float array |
[in] | n | number of a float array |
roll backward the elements of a float array circularly
[in] | block_p | points to a float array |
[in] | block_n | number of a float array |
[in] | shift_p | points to a shift array |
[in] | shift_n | number of a shift array |
roll forward the elements of a float array circularly
[in] | p | points to a float array |
[in] | n | number of a float array |
roll forward the elements of a float array circularly
[in] | block_p | points to a float array |
[in] | block_n | number of a float array |
[in] | shift_p | points to a shift array |
[in] | shift_n | number of a shift array |
calculate the sum of a float array
[in] | p | points to a float array |
[in] | n | number of a float array |
calculate the absolute sum of a float array
[in] | p | points to a float array |
[in] | n | number of a float array |
calculate the sum of squares of a float array
[in] | p | points to a float array |
[in] | n | number of a float array |