Skip to content

Commit

Permalink
wip: try return -r straight away
Browse files Browse the repository at this point in the history
JerryScript-DCO-1.0-Signed-off-by: Máté Tokodi mate.tokodi@szteszoftver.hu
  • Loading branch information
matetokodi committed May 16, 2024
1 parent beec716 commit 373ea93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jerry-core/ecma/base/ecma-helpers-number.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ ecma_number_remainder (ecma_number_t left_num, /**< left operand */
{
// printf ("\nnumber is 0 and left num is negative\n");
// printf ("r: %fd\n", r);
r = -r;
return -r;
// printf ("r negated: %fd\n", r);
}
return r;
Expand Down

0 comments on commit 373ea93

Please sign in to comment.