Remove trivial ecma_number arithmetic functions (#2123)
The affected function calls have been replaced with the appropriate arithmetic operands. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
committed by
László Langó
parent
8b109510fd
commit
90f2473f08
@@ -43,7 +43,6 @@ main (void)
|
||||
#define TEST_CASE(num, uint32) { num, uint32 }
|
||||
TEST_CASE (1.0, 1),
|
||||
TEST_CASE (0.0, 0),
|
||||
TEST_CASE (ecma_number_negate (0.0), 0),
|
||||
TEST_CASE (NAN, 0),
|
||||
TEST_CASE (-NAN, 0),
|
||||
TEST_CASE (INFINITY, 0),
|
||||
@@ -73,7 +72,6 @@ main (void)
|
||||
#define TEST_CASE(num, int32) { num, int32 }
|
||||
TEST_CASE (1.0, 1),
|
||||
TEST_CASE (0.0, 0),
|
||||
TEST_CASE (ecma_number_negate (0.0), 0),
|
||||
TEST_CASE (NAN, 0),
|
||||
TEST_CASE (-NAN, 0),
|
||||
TEST_CASE (INFINITY, 0),
|
||||
|
||||
Reference in New Issue
Block a user