Skip to content

Commit

Permalink
*To coordinate with #97.
Browse files Browse the repository at this point in the history
  • Loading branch information
paladin-t committed Mar 26, 2024
1 parent 0326331 commit 7d5c28a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/my_basic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ static _object_t* _exp_assign = 0;
if(opndv2.type == _DT_NIL) { opndv2.type = _DT_INT; opndv2.data.integer = 0; } \
else if(opndv2.type != _DT_INT && opndv2.type != _DT_REAL) { opndv2.type = _DT_INT; opndv2.data.integer = 1; } \
if(opndv1.type == _DT_INT && opndv2.type == _DT_INT) { \
if((real_t)(opndv1.data.integer __optr opndv2.data.integer) == (real_t)opndv1.data.integer __optr (real_t)opndv2.data.integer) { \
if((real_t)(opndv1.data.integer __optr opndv2.data.integer) == ((real_t)opndv1.data.integer __optr (real_t)opndv2.data.integer)) { \
val->type = _DT_INT; \
val->data.integer = opndv1.data.integer __optr opndv2.data.integer; \
} else { \
Expand Down

0 comments on commit 7d5c28a

Please sign in to comment.