diff --git a/src/core/math.c b/src/core/math.c index 0e7cc10f..10a9fbfc 100644 --- a/src/core/math.c +++ b/src/core/math.c @@ -256,7 +256,7 @@ JANET_CORE_FN(janet_srand, } #define JANET_DEFINE_MATHOP(name, fop, doc)\ -JANET_CORE_FN(janet_##name, "(math/##name x)", doc) {\ +JANET_CORE_FN(janet_##name, "(math/" #name " x)", doc) {\ janet_fixarity(argc, 1); \ double x = janet_getnumber(argv, 0); \ return janet_wrap_number(fop(x)); \