- From: ExE Boss <notifications@github.com>
- Date: Thu, 13 Feb 2020 19:16:25 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 14 February 2020 03:16:37 UTC
Currently, WebIDL uses **C** names for number types. This doesn’t match either **ECMAScript** or **WebAssembly**, where the former just uses the generic **IEEE 754** 64‑bit `number` type, and the latter uses `i*` for signed integers, `u*` for unsigned integers and `f*` for **IEEE 754** floating point numbers. I suggest applying the following renaming: | Before | After | | ------: | -----: | | `byte` | `i8` | | `octet` | `u8` | | `short` | `i16` | | <code>unsigned short</code> | `u16` | | `long` | `i32` | | <code>unsigned long</code> | `u32` | | <code>long long</code> | `i64` | | <code>unsigned long long</code> | `u64` | | `float` | `f32` | | <code>unrestricted float</code> | <code>unrestricted f32</code> | | `double` | `f64` | | <code>unrestricted double</code> | <code>unrestricted f64</code> | -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/843
Received on Friday, 14 February 2020 03:16:37 UTC