This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,5 @@
|
||||
# probe: which mixes of a Float64 with a whole-number literal does the compiler accept, and what do they print?
|
||||
def main():
|
||||
var x = 95.5
|
||||
print(x >= 90, 2 * x, x * 2, x + 1, 1 + x, x == 95, 3 - x, 10 / x, x ** 2, 2.0 ** x)
|
||||
print(90.0 <= x < 101.0, 0.5 > x, 1.5 <= x)
|
||||
Reference in new issue
Block a user