mirror of
https://github.com/Nexoniarz/Finch.git
synced 2026-11-03 08:54:25 +00:00
Struct defaults apply inside structs; exit() ends an or-block; 1e9 literals; x * 2.0 stays f32; floats print as the shortest exact text; str(x, digits)
Also frees main's args and the message of a failing main (valgrind was not clean on two tests). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b24a7845ef
commit
6142e47e71
10 changed files with 207 additions and 10 deletions
5
tests/new/defaults_numbers.out
Normal file
5
tests/new/defaults_numbers.out
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
48000 0.8 48000 2 48000 48000
|
||||
48000 48000 6 48000
|
||||
1000 0.0025 1000000 10005 4
|
||||
0.3333333333333333 0.30000000000000004 100000000 1e+20 1e-07 7 0.1
|
||||
3.14 2.0 0.1 x=0.25 [0.5, 1.25]
|
||||
Loading…
Reference in a new issue