[PATCH] D149031: [NFC] Fix typos in APFloat.h

Fabian Tschopp via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 23 17:08:09 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG8e58b79f67a9: [NFC] Fix typos in APFloat.h (authored by naibaf7).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149031/new/

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.516212.patch
Type: text/x-patch
Size: 1940 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230424/ad04545d/attachment.bin>


More information about the llvm-commits mailing list