From 68964e5fcda6103684b1ebc57845f6a9f91b0e12 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 18 Mar 2024 15:59:10 -0700 Subject: [PATCH] Rename `float32`/`float64` to `f32`/`f64`. The `float32` and `float64` types are being [renamed to `f32` and `f64`]. All the main tools have been updated to accept both old and new names for now, so there's no urgency to change anything, but users who wish to can now start switching to the new `f32`/`f64` names. [renamed to `f32` and `f64`]: https://github.com/WebAssembly/component-model/issues/277 --- design/mvp/Binary.md | 4 ++-- design/mvp/Explainer.md | 6 +++--- design/mvp/WIT.md | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/design/mvp/Binary.md b/design/mvp/Binary.md index 48cf1b72..9a82702a 100644 --- a/design/mvp/Binary.md +++ b/design/mvp/Binary.md @@ -176,8 +176,8 @@ primvaltype ::= 0x7f => bool | 0x79 => u32 | 0x78 => s64 | 0x77 => u64 - | 0x76 => float32 - | 0x75 => float64 + | 0x76 => f32 + | 0x75 => f64 | 0x74 => char | 0x73 => string defvaltype ::= pvt: => pvt diff --git a/design/mvp/Explainer.md b/design/mvp/Explainer.md index dbfd8362..e98b1e5a 100644 --- a/design/mvp/Explainer.md +++ b/design/mvp/Explainer.md @@ -530,7 +530,7 @@ deftype ::= | defvaltype ::= bool | s8 | u8 | s16 | u16 | s32 | u32 | s64 | u64 - | float32 | float64 + | f32 | f64 | char | string | (record (field "