[llvm] 8e58b79 - [NFC] Fix typos in APFloat.h

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


Author: Fabian Tschopp
Date: 2023-04-23T17:16:18+02:00
New Revision: 8e58b79f67a9f921733b105a874c0d4f69dd50da

URL: https://github.com/llvm/llvm-project/commit/8e58b79f67a9f921733b105a874c0d4f69dd50da
DIFF: https://github.com/llvm/llvm-project/commit/8e58b79f67a9f921733b105a874c0d4f69dd50da.diff

LOG: [NFC] Fix typos in APFloat.h

represnted -> represented

Reviewed By: lattner

Differential Revision: https://reviews.llvm.org/D149031

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ADT/APFloat.h b/llvm/include/llvm/ADT/APFloat.h
index b20d5e71506d..dd29aad14f83 100644
--- a/llvm/include/llvm/ADT/APFloat.h
+++ b/llvm/include/llvm/ADT/APFloat.h
@@ -161,9 +161,9 @@ struct APFloatBase {
     // 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 @@ struct APFloatBase {
     // 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,


        


More information about the llvm-commits mailing list