Skip to content

Commit

Permalink
try add print
Browse files Browse the repository at this point in the history
JerryScript-DCO-1.0-Signed-off-by: Máté Tokodi [email protected]
  • Loading branch information
matetokodi committed May 16, 2024
1 parent 4204a97 commit 2a67b71
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions jerry-core/ecma/base/ecma-helpers-number.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,14 +370,10 @@ ecma_number_remainder (ecma_number_t left_num, /**< left operand */

if (ecma_number_is_zero (r) && ecma_number_is_negative (left_num))
{
#ifndef __APPLE__
r = -r;
#else
union {unsigned long x; ecma_number_t f;} u;
u.f = r;
u.x ^= 0x8000000000000000;
return u.f;
#ifdef __APPLE__
printf("%c", 0);
#endif
r = -r;
}
return r;
} /* ecma_number_remainder */
Expand Down

0 comments on commit 2a67b71

Please sign in to comment.