aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_math.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-11-03 09:58:32 +0100
committerBjörn Gustavsson <[email protected]>2016-11-03 09:58:32 +0100
commit214aba4561eb09020379cb4d7da7e6fffe2873ab (patch)
treeb02f066ce3ebb5e055c3bc60454b51291f25f08a /erts/emulator/beam/erl_math.c
parent38e1f98a0a4729357c3669a5c5e2f93ad5ab1d90 (diff)
parent39d08368a04aa0459390ac070f3570e10cffe219 (diff)
downloadotp-214aba4561eb09020379cb4d7da7e6fffe2873ab.tar.gz
otp-214aba4561eb09020379cb4d7da7e6fffe2873ab.tar.bz2
otp-214aba4561eb09020379cb4d7da7e6fffe2873ab.zip
Merge branch 'gandrade/fmod/PR-1216/OTP-14000'
* gandrade/fmod/PR-1216/OTP-14000: Add test cases for math:fmod/2 BIF Support math:fmod/2 BIF on compiler Add math:fmod/2 BIF
Diffstat (limited to 'erts/emulator/beam/erl_math.c')
-rw-r--r--erts/emulator/beam/erl_math.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_math.c b/erts/emulator/beam/erl_math.c
index 990fa63bd4..1f270eb55f 100644
--- a/erts/emulator/beam/erl_math.c
+++ b/erts/emulator/beam/erl_math.c
@@ -256,3 +256,8 @@ BIF_RETTYPE math_floor_1(BIF_ALIST_1)
{
return math_call_1(BIF_P, floor, BIF_ARG_1);
}
+
+BIF_RETTYPE math_fmod_2(BIF_ALIST_2)
+{
+ return math_call_2(BIF_P, fmod, BIF_ARG_1, BIF_ARG_2);
+}