summaryrefslogtreecommitdiff
path: root/py/modmath.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-21 19:51:05 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-21 19:51:05 +0100
commit0fd01683c61e039461854b49d1baf8a72aa277fb (patch)
treed640987a46c93272b1deb229cd942a411ad06d92 /py/modmath.c
parent6ac5dced2441bf63dbc65acbd7e33fb71d1d3ede (diff)
parentda1fffaa093d2541f7374a7aaf16d2f00ed29ddc (diff)
Merge pull request #607 from Anton-2/osx-clang
Allow compilation of unix port under clang on OS X
Diffstat (limited to 'py/modmath.c')
-rw-r--r--py/modmath.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/modmath.c b/py/modmath.c
index f2253ab41..485d9462a 100644
--- a/py/modmath.c
+++ b/py/modmath.c
@@ -151,6 +151,7 @@ STATIC const mp_map_elem_t mp_module_math_globals_table[] = {
{ MP_OBJ_NEW_QSTR(MP_QSTR_copysign), (mp_obj_t)&mp_math_copysign_obj },
{ MP_OBJ_NEW_QSTR(MP_QSTR_fabs), (mp_obj_t)&mp_math_fabs_obj },
{ MP_OBJ_NEW_QSTR(MP_QSTR_floor), (mp_obj_t)&mp_math_floor_obj },
+ { MP_OBJ_NEW_QSTR(MP_QSTR_fmod), (mp_obj_t)&mp_math_fmod_obj },
{ MP_OBJ_NEW_QSTR(MP_QSTR_frexp), (mp_obj_t)&mp_math_frexp_obj },
{ MP_OBJ_NEW_QSTR(MP_QSTR_ldexp), (mp_obj_t)&mp_math_ldexp_obj },
{ MP_OBJ_NEW_QSTR(MP_QSTR_modf), (mp_obj_t)&mp_math_modf_obj },