Implement relational operators for BigInts (#4087)
Improve BigInt constructor as well JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
@@ -99,7 +99,7 @@ ecma_big_uint_extend (ecma_extended_primitive_t *value_p, /**< BigInt value */
|
||||
/**
|
||||
* Compare two BigUInt numbers
|
||||
*
|
||||
* return -1, if value1 < value2, 0 if they are equal, and 1 otherwise
|
||||
* return -1, if left value < right value, 0 if they are equal, and 1 otherwise
|
||||
*/
|
||||
int
|
||||
ecma_big_uint_compare (ecma_extended_primitive_t *left_value_p, /**< left BigUInt value */
|
||||
|
||||
Reference in New Issue
Block a user