From 585856cfe29a3aa77153cc767a6d6490f4787466 Mon Sep 17 00:00:00 2001 From: Jesse Alama Date: Thu, 30 May 2024 17:34:18 +0200 Subject: [PATCH] Drop a couple of redundant methods --- spec.emu | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/spec.emu b/spec.emu index f6d1bb08..7b800f27 100644 --- a/spec.emu +++ b/spec.emu @@ -705,35 +705,6 @@ location: https://github.com/tc39/proposal-decimal/ - -

Decimal128.prototype.toBigInt ( )

-

This method performs the following steps when called:

- - 1. Let _O_ be the *this* value. - 1. Perform ? RequireInternalSlot(_O_, [[Decimal128Data]]). - 1. If IsIntegralDecimal128(_O_) is *false*, throw a *RangeError* exception. - 1. Return ! ToBigInt(Call (_O_.[[toString]], *this*)). - - -

This operation follows the specification of the convertToIntegerTiesToEven operation defined in Section 5.4.1 of IEEE 754-2019.

-
-
- - -

Decimal128.prototype.toNumber ( )

-

This method performs the following steps when called:

- - 1. Let _O_ be the *this* value. - 1. Perform ? RequireInternalSlot(_O_, [[Decimal128Data]]). - 1. Let _d_ be _O_.[[Decimal128Data]]. - 1. Let _s_ be Decimal128ToDecimalString(_d_). - 1. Return StringToNumber(_s_). - - -

This operation follows the specification of the conversion operation defined in Section 5.4.2 of IEEE 754-2019.

-
-
-

Decimal128.prototype.valueOf ( _x_ )

This method performs the following steps when called: