Просмотр исходного кода

Merge pull request #143 from kimshrier/exercise_060_f80

Exercise 60: mention new float type f80
@kimshrier Thank you!
Chris Boesch 2 лет назад
Родитель
Сommit
46d233b97c
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      exercises/060_floats.zig

+ 2 - 2
exercises/060_floats.zig

@@ -1,7 +1,7 @@
 //
 //
 // Zig has support for IEEE-754 floating-point numbers in these
 // Zig has support for IEEE-754 floating-point numbers in these
-// specific sizes: f16, f32, f64, f128. Floating point literals
-// may be written in scientific notation:
+// specific sizes: f16, f32, f64, f80, and f128. Floating point
+// literals may be writen in scientific notation:
 //
 //
 //     const a1: f32 = 1200.0;     // 1,200
 //     const a1: f32 = 1200.0;     // 1,200
 //     const a2: f32 = 1.2e+3;     // 1,200
 //     const a2: f32 = 1.2e+3;     // 1,200