From 6189d1ac9d73347638c3cbec4d7e21a390edd238 Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Tue, 8 Oct 2024 15:49:57 +0200 Subject: [PATCH] LibWeb: Add WebIDL::Double type --- Userland/Libraries/LibWeb/WebIDL/Types.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Userland/Libraries/LibWeb/WebIDL/Types.h b/Userland/Libraries/LibWeb/WebIDL/Types.h index 79fc6fcef72..6aae400f2c6 100644 --- a/Userland/Libraries/LibWeb/WebIDL/Types.h +++ b/Userland/Libraries/LibWeb/WebIDL/Types.h @@ -42,4 +42,9 @@ using LongLong = i64; // The unsigned long long type is an unsigned integer type that has values in the range [0, 18446744073709551615]. using UnsignedLongLong = u64; +// https://webidl.spec.whatwg.org/#idl-double +// The double type is a floating point numeric type that corresponds to the set of finite +// double-precision 64-bit IEEE 754 floating point numbers. [IEEE-754] +using Double = f64; + }