int div int becomes float

This commit is contained in:
Yuichi Nishiwaki 2015-07-13 09:49:55 +09:00
parent ecd21ffb5a
commit 15411c9777
1 changed files with 1 additions and 1 deletions

View File

@ -626,7 +626,7 @@ pic_eqv_p(pic_value x, pic_value y)
pic_define_aop(pic_add, +, true)
pic_define_aop(pic_sub, -, true)
pic_define_aop(pic_mul, *, true)
pic_define_aop(pic_div, /, f == round(f))
pic_define_aop(pic_div, /, false)
#if PIC_ENABLE_FLOAT
# define pic_define_cmp(name, op) \