We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2a7041e + b0f9739 commit 28fb76eCopy full SHA for 28fb76e
src/core/math.c
@@ -256,7 +256,7 @@ JANET_CORE_FN(janet_srand,
256
}
257
258
#define JANET_DEFINE_MATHOP(name, fop, doc)\
259
-JANET_CORE_FN(janet_##name, "(math/##name x)", doc) {\
+JANET_CORE_FN(janet_##name, "(math/" #name " x)", doc) {\
260
janet_fixarity(argc, 1); \
261
double x = janet_getnumber(argv, 0); \
262
return janet_wrap_number(fop(x)); \
0 commit comments