s/DEFINE_MATH_PRED/DEFINE_ARITH_CMP/g

This commit is contained in:
Yuichi Nishiwaki 2013-12-07 20:42:10 -08:00
parent 791ab95219
commit 629ee06b5f
1 changed files with 6 additions and 6 deletions

View File

@ -79,7 +79,7 @@ pic_number_nan_p(pic_state *pic)
return pic_false_value();
}
#define DEFINE_MATH_PRED(op, name) \
#define DEFINE_ARITH_CMP(op, name) \
static pic_value \
pic_number_##name(pic_state *pic) \
{ \
@ -108,11 +108,11 @@ pic_number_nan_p(pic_state *pic)
return pic_true_value(); \
}
DEFINE_MATH_PRED(=, eq)
DEFINE_MATH_PRED(<, lt)
DEFINE_MATH_PRED(>, gt)
DEFINE_MATH_PRED(<=, le)
DEFINE_MATH_PRED(>=, ge)
DEFINE_ARITH_CMP(=, eq)
DEFINE_ARITH_CMP(<, lt)
DEFINE_ARITH_CMP(>, gt)
DEFINE_ARITH_CMP(<=, le)
DEFINE_ARITH_CMP(>=, ge)
static pic_value
pic_number_abs(pic_state *pic)