[PATCH] D149031: ]

Fabian Tschopp via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 23 16:41:03 PDT 2023


naibaf7 created this revision.
Herald added a project: All.
naibaf7 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149031

Files:
  llvm/include/llvm/ADT/APFloat.h


Index: llvm/include/llvm/ADT/APFloat.h
===================================================================
--- llvm/include/llvm/ADT/APFloat.h
+++ llvm/include/llvm/ADT/APFloat.h
@@ -161,9 +161,9 @@
     // 8-bit floating point number mostly following IEEE-754 conventions
     // and bit layout S1E5M2 described in https://arxiv.org/abs/2206.02915,
     // with expanded range and with no infinity or signed zero.
-    // NaN is represnted as negative zero. (FN -> Finite, UZ -> unsigned zero).
+    // NaN is represented as negative zero. (FN -> Finite, UZ -> unsigned zero).
     // This format's exponent bias is 16, instead of the 15 (2 ** (5 - 1) - 1)
-    //  that IEEE precedent would imply.
+    // that IEEE precedent would imply.
     S_Float8E5M2FNUZ,
     // 8-bit floating point number mostly following IEEE-754 conventions with
     // bit layout S1E4M3 as described in https://arxiv.org/abs/2209.05433.
@@ -173,14 +173,14 @@
     // 8-bit floating point number mostly following IEEE-754 conventions
     // and bit layout S1E4M3 described in https://arxiv.org/abs/2206.02915,
     // with expanded range and with no infinity or signed zero.
-    // NaN is represnted as negative zero. (FN -> Finite, UZ -> unsigned zero).
+    // NaN is represented as negative zero. (FN -> Finite, UZ -> unsigned zero).
     // This format's exponent bias is 8, instead of the 7 (2 ** (4 - 1) - 1)
     // that IEEE precedent would imply.
     S_Float8E4M3FNUZ,
     // 8-bit floating point number mostly following IEEE-754 conventions
     // and bit layout S1E4M3 with expanded range and with no infinity or signed
     // zero.
-    // NaN is represnted as negative zero. (FN -> Finite, UZ -> unsigned zero).
+    // NaN is represented as negative zero. (FN -> Finite, UZ -> unsigned zero).
     // This format's exponent bias is 11, instead of the 7 (2 ** (4 - 1) - 1)
     // that IEEE precedent would imply.
     S_Float8E4M3B11FNUZ,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149031.516210.patch
Type: text/x-patch
Size: 1940 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230423/40c78055/attachment.bin>


More information about the llvm-commits mailing list