Data update
This commit is contained in:
parent
ed705008a8
commit
0df55f9f24
2196 changed files with 32999 additions and 3075 deletions
16
Task/Test-integerness/EasyLang/test-integerness.easy
Normal file
16
Task/Test-integerness/EasyLang/test-integerness.easy
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
func isint x .
|
||||
if x mod 1 = 0
|
||||
return 1
|
||||
.
|
||||
.
|
||||
num[] = [ 25.000000 24.999999 25.0001 -2.1e120 -5e-2 0 / 0 1 / 0 ]
|
||||
#
|
||||
numfmt 10 0
|
||||
for n in num[]
|
||||
write n & " -> "
|
||||
if isint n = 1
|
||||
print "integer"
|
||||
else
|
||||
print "no integer"
|
||||
.
|
||||
.
|
||||
Loading…
Add table
Add a link
Reference in a new issue