[bugfix] (= 1 1.0) doesn't work

This commit is contained in:
Yuichi Nishiwaki 2013-11-13 17:40:31 +09:00
parent 5479e7c6ba
commit 2fb4720e22
1 changed files with 1 additions and 1 deletions

View File

@ -618,7 +618,7 @@ pic_apply(pic_state *pic, struct pic_proc *proc, pic_value argv)
else if (pic_float_p(a) && pic_float_p(b)) { \
PUSH(pic_bool_value(pic_float(a) op pic_float(b))); \
} \
else if (pic_int_p(a) && pic_int_p(b)) { \
else if (pic_int_p(a) && pic_float_p(b)) { \
PUSH(pic_bool_value(pic_int(a) op pic_float(b))); \
} \
else if (pic_float_p(a) && pic_int_p(b)) { \