nuttx/libs/libc/math
chao an 634baa5a2f libs: workaround for Visual Studio(MSVC) Compiler Error C2124
D:\archer\code\nuttx\libs\libc\stdlib\lib_strtod.c: error C2124: divide or mod by zero

Windows MSVC restrictions, MSVC doesn't allow division through a
zero literal, but allows it through const variable set to zero

Reference:
https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/compiler-error-c2124?view=msvc-170

Signed-off-by: chao an <anchao@xiaomi.com>
2023-02-09 20:11:55 +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 libs: workaround for Visual Studio(MSVC) Compiler Error C2124 2023-02-09 20:11:55 +08:00
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_scalbn.c Remove executable permissions from source files 2023-01-30 20:34:51 -03:00
lib_scalbnf.c Remove executable permissions from source files 2023-01-30 20:34:51 -03:00
lib_scalbnl.c 1 2022-12-22 11:52:00 +08:00
lib_sin.c
lib_sincos.c libc/math: add simple implementation for sincos API 2023-01-12 00:07:44 +08:00
lib_sincosf.c libc/math: add simple implementation for sincos API 2023-01-12 00:07:44 +08:00
lib_sincosl.c libc/math: add simple implementation for sincos API 2023-01-12 00:07:44 +08:00
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 libc/math: add simple implementation for sincos API 2023-01-12 00:07:44 +08:00