mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
Manually wrote the expected output into langref.html.in
This commit is contained in:
parent
5537e42f3b
commit
6614b2b739
1 changed files with 4 additions and 0 deletions
|
|
@ -1120,6 +1120,10 @@
|
|||
otherwise the optimizer figures out all the values at compile-time,
|
||||
which operates in strict mode.</p>
|
||||
{#code|float_mode_exe.zig#}
|
||||
{#shell_samp#}$ zig build-exe float_mode_exe.zig -O ReleaseFast
|
||||
$ ./float_mode_exe
|
||||
optimized = 0.001
|
||||
strict = 0.0009765625{#end_shell_samp#}
|
||||
|
||||
{#see_also|@setFloatMode|Division by Zero#}
|
||||
{#header_close#}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue