Merge pull request #143 from kimshrier/exercise_060_f80

Exercise 60: mention new float type f80
@kimshrier Thank you!
pull/2/head
Chris Boesch 2 years ago committed by GitHub
commit 46d233b97c

@ -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 // specific sizes: f16, f32, f64, f80, and f128. Floating point
// may be written in scientific notation: // 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

Loading…
Cancel
Save