aboutsummaryrefslogtreecommitdiff
path: root/exercises/060_floats.zig
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2021-11-07 19:38:47 -0500
committerGitHub <noreply@github.com>2021-11-07 19:38:47 -0500
commitdedd787f2dd0badc03caa1299adaf57eaeaae156 (patch)
treeb89a125af4973d0a7b40121298c8f4fd8e8c9988 /exercises/060_floats.zig
parent4147a9a39b362468cc6f16c8ce751ee3481321f4 (diff)
parentf6de68a1f23722457a0432ce520da668a50b2132 (diff)
downloadziglings-dedd787f2dd0badc03caa1299adaf57eaeaae156.tar.gz
ziglings-dedd787f2dd0badc03caa1299adaf57eaeaae156.tar.bz2
ziglings-dedd787f2dd0badc03caa1299adaf57eaeaae156.tar.xz
ziglings-dedd787f2dd0badc03caa1299adaf57eaeaae156.zip
Merge pull request #77 from jhalmen/fmt
whitespaces and zig fmt
Diffstat (limited to 'exercises/060_floats.zig')
-rw-r--r--exercises/060_floats.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/060_floats.zig b/exercises/060_floats.zig
index 6ff7b50..a223257 100644
--- a/exercises/060_floats.zig
+++ b/exercises/060_floats.zig
@@ -59,7 +59,7 @@ pub fn main() void {
// | exponent significand
// |
// sign
-//
+//
// This example is the decimal number 3.140625, which happens to
// be the closest representation of Pi we can make with an f16
// due to the way IEEE-754 floating points store digits:
@@ -86,6 +86,6 @@ pub fn main() void {
//
// Fun fact: sometimes you'll see the significand labeled as a
// "mantissa" but Donald E. Knuth says not to do that.
-//
+//
// C compatibility fact: There is also a Zig floating point type
// specifically for working with C ABIs called c_longdouble.