about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2024-03-02 21:45:23 -0500
committerTrevor Gross <tmgross@umich.edu>2024-03-14 13:32:54 -0400
commite782d27ec6456a6080a5bfe8b2f189fa9f1b1d0f (patch)
treea20d4a7c0d24fba9342e761f15f4804931b334d2 /src
parentdc650952988de0f7321b5db56f26706530bf7212 (diff)
downloadrust-e782d27ec6456a6080a5bfe8b2f189fa9f1b1d0f.tar.gz
rust-e782d27ec6456a6080a5bfe8b2f189fa9f1b1d0f.zip
Add feature gates for `f16` and `f128`
Includes related tests and documentation pages.

Michael Goulet: Don't issue feature error in resolver for f16/f128
unless finalize

Co-authored-by: Michael Goulet <michael@errs.io>
Diffstat (limited to 'src')
-rw-r--r--src/doc/unstable-book/src/language-features/f128.md9
-rw-r--r--src/doc/unstable-book/src/language-features/f16.md9
2 files changed, 18 insertions, 0 deletions
diff --git a/src/doc/unstable-book/src/language-features/f128.md b/src/doc/unstable-book/src/language-features/f128.md
new file mode 100644
index 00000000000..0cc5f677230
--- /dev/null
+++ b/src/doc/unstable-book/src/language-features/f128.md
@@ -0,0 +1,9 @@
+# `f128`
+
+The tracking issue for this feature is: [#116909]
+
+[#116909]: https://github.com/rust-lang/rust/issues/116909
+
+---
+
+Enable the `f128` type for  IEEE 128-bit floating numbers (quad precision).
diff --git a/src/doc/unstable-book/src/language-features/f16.md b/src/doc/unstable-book/src/language-features/f16.md
new file mode 100644
index 00000000000..efb07a5146d
--- /dev/null
+++ b/src/doc/unstable-book/src/language-features/f16.md
@@ -0,0 +1,9 @@
+# `f16`
+
+The tracking issue for this feature is: [#116909]
+
+[#116909]: https://github.com/rust-lang/rust/issues/116909
+
+---
+
+Enable the `f16` type for  IEEE 16-bit floating numbers (half precision).