1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

scanner: no longer allow 1. float literals (#11301)

This commit is contained in:
yuyi
2021-08-25 19:39:37 +08:00
committed by GitHub
parent ee961b26e7
commit 4d078edb72
11 changed files with 30 additions and 19 deletions

View File

@ -53,7 +53,7 @@ fn test_float_to_str() {
1e23,
f32_from_bits1(0x0080_0000), // smallest float32
math.max_f32,
383260575764816448.,
383260575764816448.0,
]
exp_result_f32 := [