blob: a1e857b10d8d1fca6ca311cf0e213d9b1efaf947 (
plain)
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
49
50
51
52
53
54
55
56
57
58
|
[round_up]
In1 = 1
In2 = 10
Out = 10
In1 = 3
In2 = 10
Out = 10
In1 = 9
In2 = 10
Out = 10
In1 = 10
In2 = 10
Out = 10
In1 = 1
In2 = 4
Out = 4
In1 = 3
In2 = 4
Out = 4
In1 = 4
In2 = 4
Out = 4
In1 = 9
In2 = 4
Out = 12
In1 = 11
In2 = 4
Out = 12
In1 = 0
In2 = 2
Out = 0
In1 = 0
In2 = 10000
Out = 0
[round_down]
In1 = 9
In2 = 10
Out = 0
In1 = 10
In2 = 10
Out = 10
In1 = 11
In2 = 10
Out = 10
|