Skip to content

Commit 3657ec7

Browse files
committed
Manually wrote the expected output into langref.html.in
1 parent 0f2338b commit 3657ec7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/langref.html.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,6 +1120,10 @@
11201120
otherwise the optimizer figures out all the values at compile-time,
11211121
which operates in strict mode.</p>
11221122
{#code|float_mode_exe.zig#}
1123+
{#shell_samp#}$ zig build-exe float_mode_exe.zig -O ReleaseFast
1124+
$ ./float_mode_exe
1125+
optimized = 0.001
1126+
strict = 0.0009765625{#end_shell_samp#}
11231127

11241128
{#see_also|@setFloatMode|Division by Zero#}
11251129
{#header_close#}

0 commit comments

Comments
 (0)