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 Fix various typos 2022-07-08 02:15:54 +08:00
lib_acosf.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_acosh.c
lib_acoshf.c
lib_acoshl.c
lib_acosl.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_asin.c Fix various typos 2022-07-08 02:15:54 +08:00
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 Fix various typos 2022-07-08 02:15:54 +08:00
lib_atan2f.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_atan2l.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_atan.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_atanf.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_atanh.c
lib_atanhf.c
lib_atanhl.c
lib_atanl.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_cbrt.c
lib_ceil.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_ceilf.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_ceill.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_copysign.c
lib_copysignf.c
lib_copysignl.c
lib_cos.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_cosf.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_cosh.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_coshf.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_coshl.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_cosl.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_erf.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_erfc.c
lib_erfcf.c
lib_erfcl.c
lib_erff.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_erfl.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_exp.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_expf.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_expl.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_expm1.c
lib_expm1f.c
lib_expm1l.c
lib_fabs.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_fabsf.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_fabsl.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_floor.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_floorf.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_floorl.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_fmax.c
lib_fmaxf.c
lib_fmaxl.c
lib_fmin.c
lib_fminf.c
lib_fminl.c
lib_fmod.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_fmodf.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_fmodl.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_frexp.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_frexpf.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_frexpl.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_gamma.c
lib_ldexp.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_ldexpf.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_ldexpl.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_lgamma.c
lib_libexpi.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_libexpif.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_libsqrtapprox.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_llround.c
lib_llroundf.c
lib_llroundl.c
lib_log2.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_log2f.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_log2l.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_log10.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_log10f.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_log10l.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_log.c Fix various typos 2022-07-08 02:15:54 +08:00
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 Fix various typos 2022-07-08 02:15:54 +08:00
lib_modff.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_modfl.c Fix various typos 2022-07-08 02:15:54 +08:00
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 Fix various typos 2022-07-08 02:15:54 +08:00
lib_powl.c Fix various typos 2022-07-08 02:15:54 +08:00
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 Fix various typos 2022-07-08 02:15:54 +08:00
lib_sinf.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_sinh.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_sinhf.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_sinhl.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_sinl.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_sqrt.c Fix various typos 2022-07-08 02:15:54 +08:00
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 Fix various typos 2022-07-08 02:15:54 +08:00
lib_tanf.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_tanh.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_tanhf.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_tanhl.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_tanl.c Fix various typos 2022-07-08 02:15:54 +08:00
lib_trunc.c
lib_truncf.c
lib_truncl.c
Make.defs libs/libc: correct config name 2022-07-27 20:18:05 +08:00