This website works better with JavaScript.
Home
Explore
Help
Sign In
piumarta
/
javascrypt
mirror of
https://github.com/mtardy/javascrypt.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
1
Wiki
Activity
Browse Source
Add test-float.txt
pull/22/head
mtardy
4 years ago
parent
ea4ac7241e
commit
ec63f0b94d
1 changed files
with
24 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+24
-0
test-float.txt
+ 24
- 0
test-float.txt
View File
@ -0,0 +1,24 @@
println(3.14)
println(3.)
println(.14)
println(3.14e3)
println(3.14e-3)
println(-42e100)
println("ADD")
println(3.14+3.14)
println(3.14+3)
println(3+3.14)
println("MUL");
println(3.14*3.14)
println(3.14*3)
println(3*3.14)
println("SUB")
println(3.14-3.14)
println(3.14-3)
println(3-3.14)
println("DIV")
println(3.14/3.14)
println(3.14/3)
println(3/3.14)
println("MOD")
println(3.15%3.14)
Write
Preview
Loading…
Cancel
Save