nuttx/libs/libc/math
Neale Ferguson 213b954a90 * Squash round() commits
- Add check in roundx() functions for infinite or NaN cases
  - Add block to avoid style warnings
  - Define long double constants and macros for infinity and nan
  - Correct return syntax to match NuttX style
  - Make c89 compliant
  - Fix definitions of INFINITY_L/NAN_L

* include/nuttx/lib/math.h - match standard naming conventions
  - Rename isinf_l to isinfl
  - Rename isinf_f to isinff
  - Add finite()
  - Add finitel()
  - Add finitef()
  - Define isnanl and isnanf
  - Define isfinite() so that it uses the appropriate macro

* libs/libc/math/lib_asinf.c
  libs/libc/math/lib_asinl.c
  libs/libc/math/lib_roundf.c
  libs/libc/math/lib_roundl.c
  libs/libc/math/lib_sqrtf.c
  libs/libc/math/lib_sqrtl.c
  - Use renamed macros
  - Use correct NAN_x or INFINIT_x macro on returns
2022-09-08 20:57:27 +08:00
..
__cos.c
__sin.c
Kconfig
lib_acos.c
lib_acosf.c
lib_acosh.c
lib_acoshf.c
lib_acoshl.c
lib_acosl.c
lib_asin.c
lib_asinf.c * Squash round() commits 2022-09-08 20:57:27 +08:00
lib_asinh.c
lib_asinhf.c
lib_asinhl.c
lib_asinl.c * Squash round() commits 2022-09-08 20:57:27 +08:00
lib_atan2.c
lib_atan2f.c
lib_atan2l.c
lib_atan.c
lib_atanf.c
lib_atanh.c
lib_atanhf.c
lib_atanhl.c
lib_atanl.c
lib_cbrt.c
lib_ceil.c
lib_ceilf.c
lib_ceill.c
lib_copysign.c
lib_copysignf.c
lib_copysignl.c
lib_cos.c
lib_cosf.c
lib_cosh.c
lib_coshf.c
lib_coshl.c
lib_cosl.c
lib_erf.c
lib_erfc.c
lib_erfcf.c
lib_erfcl.c
lib_erff.c
lib_erfl.c
lib_exp.c
lib_expf.c
lib_expl.c
lib_expm1.c
lib_expm1f.c
lib_expm1l.c
lib_fabs.c
lib_fabsf.c
lib_fabsl.c
lib_floor.c
lib_floorf.c
lib_floorl.c
lib_fmax.c
lib_fmaxf.c
lib_fmaxl.c
lib_fmin.c
lib_fminf.c
lib_fminl.c
lib_fmod.c
lib_fmodf.c
lib_fmodl.c
lib_frexp.c
lib_frexpf.c
lib_frexpl.c
lib_gamma.c
lib_ldexp.c
lib_ldexpf.c
lib_ldexpl.c
lib_lgamma.c
lib_libexpi.c
lib_libexpif.c
lib_libsqrtapprox.c
lib_llround.c
lib_llroundf.c
lib_llroundl.c
lib_log2.c
lib_log2f.c
lib_log2l.c
lib_log10.c
lib_log10f.c
lib_log10l.c
lib_log.c
lib_logf.c * Squash round() commits 2022-09-08 20:57:27 +08:00
lib_logl.c * Squash round() commits 2022-09-08 20:57:27 +08:00
lib_lround.c
lib_lroundf.c
lib_lroundl.c
lib_modf.c
lib_modff.c
lib_modfl.c
lib_nan.c
lib_nanf.c
lib_nanl.c
lib_pow.c Fixed pow() for negative bases. 2022-09-03 21:19:10 +08:00
lib_powf.c
lib_powl.c
lib_rint.c
lib_rintf.c
lib_rintl.c
lib_round.c * Squash round() commits 2022-09-08 20:57:27 +08:00
lib_roundf.c * Squash round() commits 2022-09-08 20:57:27 +08:00
lib_roundl.c * Squash round() commits 2022-09-08 20:57:27 +08:00
lib_sin.c
lib_sinf.c
lib_sinh.c
lib_sinhf.c
lib_sinhl.c
lib_sinl.c
lib_sqrt.c
lib_sqrtf.c * Squash round() commits 2022-09-08 20:57:27 +08:00
lib_sqrtl.c * Squash round() commits 2022-09-08 20:57:27 +08:00
lib_tan.c
lib_tanf.c
lib_tanh.c
lib_tanhf.c
lib_tanhl.c
lib_tanl.c
lib_trunc.c
lib_truncf.c
lib_truncl.c
Make.defs