LibJS: Update spec steps / links for the Float16Array proposal

This proposal has reached stage 4 and been merged into the main ECMA-262
spec. See:

d430ace
This commit is contained in:
Timothy Flynn 2025-04-28 19:24:01 -04:00 committed by Tim Flynn
commit 9674210ef8
Notes: github-actions[bot] 2025-04-29 11:34:45 +00:00
3 changed files with 46 additions and 47 deletions

View file

@ -171,7 +171,6 @@ inline size_t array_buffer_byte_length(ArrayBuffer const& array_buffer, ArrayBuf
}
// 25.1.3.14 RawBytesToNumeric ( type, rawBytes, isLittleEndian ), https://tc39.es/ecma262/#sec-rawbytestonumeric
// 5 RawBytesToNumeric ( type, rawBytes, isLittleEndian ), https://tc39.es/proposal-float16array/#sec-rawbytestonumeric
template<typename T>
static Value raw_bytes_to_numeric(VM& vm, Bytes raw_value, bool is_little_endian)
{
@ -305,7 +304,6 @@ Value ArrayBuffer::get_value(size_t byte_index, [[maybe_unused]] bool is_typed_a
}
// 25.1.3.17 NumericToRawBytes ( type, value, isLittleEndian ), https://tc39.es/ecma262/#sec-numerictorawbytes
// 6 NumericToRawBytes ( type, value, isLittleEndian ), https://tc39.es/proposal-float16array/#sec-numerictorawbytes
template<typename T>
static void numeric_to_raw_bytes(VM& vm, Value value, bool is_little_endian, Bytes raw_bytes)
{