diff options
author | Mike Pall <mike> | 2020-05-22 04:53:35 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2020-05-22 04:53:35 +0200 |
commit | 5655be4546d9177890c69f0d0accac4773ff0887 (patch) | |
tree | 794518da2d5a42ec79013eda0c92f7f1e4e8d3ce /src/lib_math.c | |
parent | c5b8e9168bae3efb6eb0fe2d4c9466c57fa5f971 (diff) | |
download | luajit-5655be4546d9177890c69f0d0accac4773ff0887.tar.gz luajit-5655be4546d9177890c69f0d0accac4773ff0887.tar.bz2 luajit-5655be4546d9177890c69f0d0accac4773ff0887.zip |
Cleanup math function compilation and fix inconsistencies.
Diffstat (limited to 'src/lib_math.c')
-rw-r--r-- | src/lib_math.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/lib_math.c b/src/lib_math.c index 02aa21d7..4cc2ba6e 100644 --- a/src/lib_math.c +++ b/src/lib_math.c | |||
@@ -33,17 +33,17 @@ LJLIB_ASM(math_sqrt) LJLIB_REC(math_unary IRFPM_SQRT) | |||
33 | lj_lib_checknum(L, 1); | 33 | lj_lib_checknum(L, 1); |
34 | return FFH_RETRY; | 34 | return FFH_RETRY; |
35 | } | 35 | } |
36 | LJLIB_ASM_(math_log10) LJLIB_REC(math_unary IRFPM_LOG10) | 36 | LJLIB_ASM_(math_log10) LJLIB_REC(math_call IRCALL_log10) |
37 | LJLIB_ASM_(math_exp) LJLIB_REC(math_unary IRFPM_EXP) | 37 | LJLIB_ASM_(math_exp) LJLIB_REC(math_call IRCALL_exp) |
38 | LJLIB_ASM_(math_sin) LJLIB_REC(math_unary IRFPM_SIN) | 38 | LJLIB_ASM_(math_sin) LJLIB_REC(math_call IRCALL_sin) |
39 | LJLIB_ASM_(math_cos) LJLIB_REC(math_unary IRFPM_COS) | 39 | LJLIB_ASM_(math_cos) LJLIB_REC(math_call IRCALL_cos) |
40 | LJLIB_ASM_(math_tan) LJLIB_REC(math_unary IRFPM_TAN) | 40 | LJLIB_ASM_(math_tan) LJLIB_REC(math_call IRCALL_tan) |
41 | LJLIB_ASM_(math_asin) LJLIB_REC(math_atrig FF_math_asin) | 41 | LJLIB_ASM_(math_asin) LJLIB_REC(math_call IRCALL_asin) |
42 | LJLIB_ASM_(math_acos) LJLIB_REC(math_atrig FF_math_acos) | 42 | LJLIB_ASM_(math_acos) LJLIB_REC(math_call IRCALL_acos) |
43 | LJLIB_ASM_(math_atan) LJLIB_REC(math_atrig FF_math_atan) | 43 | LJLIB_ASM_(math_atan) LJLIB_REC(math_call IRCALL_atan) |
44 | LJLIB_ASM_(math_sinh) LJLIB_REC(math_htrig IRCALL_sinh) | 44 | LJLIB_ASM_(math_sinh) LJLIB_REC(math_call IRCALL_sinh) |
45 | LJLIB_ASM_(math_cosh) LJLIB_REC(math_htrig IRCALL_cosh) | 45 | LJLIB_ASM_(math_cosh) LJLIB_REC(math_call IRCALL_cosh) |
46 | LJLIB_ASM_(math_tanh) LJLIB_REC(math_htrig IRCALL_tanh) | 46 | LJLIB_ASM_(math_tanh) LJLIB_REC(math_call IRCALL_tanh) |
47 | LJLIB_ASM_(math_frexp) | 47 | LJLIB_ASM_(math_frexp) |
48 | LJLIB_ASM_(math_modf) | 48 | LJLIB_ASM_(math_modf) |
49 | 49 | ||