literals.test 660 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
eval instant at 50m 12.34e6
	12340000

eval instant at 50m 12.34e+6
	12340000

eval instant at 50m 12.34e-6
	0.00001234

eval instant at 50m 1+1
	2

eval instant at 50m 1-1
	0

eval instant at 50m 1 - -1
	2

eval instant at 50m .2
	0.2

eval instant at 50m +0.2
	0.2

eval instant at 50m -0.2e-6
	-0.0000002

eval instant at 50m +Inf
	+Inf

eval instant at 50m inF
	+Inf

eval instant at 50m -inf
	-Inf

eval instant at 50m NaN
	NaN

eval instant at 50m nan
	NaN

eval instant at 50m 2.
	2

eval instant at 50m 1 / 0
	+Inf

49
50
51
eval instant at 50m ((1) / (0))
	+Inf

52
53
54
55
56
57
58
eval instant at 50m -1 / 0
	-Inf

eval instant at 50m 0 / 0
	NaN

eval instant at 50m 1 % 0
59
	NaN