source:
tests/.expect/rational.txt
@
907c545
Last change on this file since 907c545 was bf71cfd, checked in by , 6 years ago | |
---|---|
|
|
File size: 280 bytes |
Rev | Line | |
---|---|---|
[f621a148] | 1 | constructor |
2 | 3/1 4/1 0/1 | |
3 | 1/2 5/7 | |
4 | 2/3 -3/2 | |
5 | -2/3 3/2 | |
6 | logical | |
7 | -2/1 -3/2 | |
8 | 1 | |
9 | 1 | |
10 | 1 | |
11 | 0 | |
12 | 0 | |
13 | arithmetic | |
14 | -2/1 -3/2 | |
15 | -7/2 | |
16 | -1/2 | |
17 | 3/1 | |
18 | 4/3 | |
[6c6455f] | 19 | conversion |
20 | 0.75 | |
21 | 0.142857142857143 | |
22 | 3.14159292035398 | |
23 | 3/4 | |
24 | 1/7 | |
25 | 355/113 | |
[f621a148] | 26 | decompose |
27 | more tests | |
28 | -3/2 | |
29 | 0 | |
30 | 1/2 1 1/2 | |
31 | 2/1 1 2/1 | |
32 | 0/1 | |
33 | 1/2 1 1/2 | |
34 | 2/2147483647 | |
35 | 5/2147483647 | |
36 | 2/3 4/5 |
Note: See TracBrowser
for help on using the repository browser.