aboutsummaryrefslogtreecommitdiff
path: root/py/modmath.c
diff options
context:
space:
mode:
authorstijn <stijn@ignitron.net>2020-04-16 09:13:57 +0200
committerDamien George <damien.p.george@gmail.com>2020-04-23 11:24:25 +1000
commit84fa3312cfa7d2237d4b56952f2cd6e3591210c4 (patch)
treedc2b3e67bad9969fc5792ca0822798d58addf174 /py/modmath.c
parentd6243568a05d423b58522435c3779975acbf56dd (diff)
all: Format code to add space after C++-style comment start.
Note: the uncrustify configuration is explicitly set to 'add' instead of 'force' in order not to alter the comments which use extra spaces after // as a means of indenting text for clarity.
Diffstat (limited to 'py/modmath.c')
-rw-r--r--py/modmath.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/modmath.c b/py/modmath.c
index f6f43b4ad..5ff892ba1 100644
--- a/py/modmath.c
+++ b/py/modmath.c
@@ -146,7 +146,7 @@ STATIC mp_float_t MICROPY_FLOAT_C_FUN(fabs_func)(mp_float_t x) {
}
MATH_FUN_1(fabs, fabs_func)
// floor(x)
-MATH_FUN_1_TO_INT(floor, floor) //TODO: delegate to x.__floor__() if x is not a float
+MATH_FUN_1_TO_INT(floor, floor) // TODO: delegate to x.__floor__() if x is not a float
// fmod(x, y)
MATH_FUN_2(fmod, fmod)
// isfinite(x)
@@ -169,7 +169,7 @@ MATH_FUN_1(gamma, tgamma)
// lgamma(x): return the natural logarithm of the gamma function of x
MATH_FUN_1(lgamma, lgamma)
#endif
-//TODO: fsum
+// TODO: fsum
#if MICROPY_PY_MATH_ISCLOSE
STATIC mp_obj_t mp_math_isclose(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {