File: tv_min.reference

package info (click to toggle)
sollya 7.0%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 13,864 kB
  • sloc: ansic: 117,441; yacc: 8,822; lex: 2,419; makefile: 870; cpp: 76
file content (61 lines) | stat: -rw-r--r-- 1,775 bytes parent folder | download | duplicates (8)
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
59
60
61
min(4,5,1,3) returns 1

min([|4, 5, 1, 3|]) returns 1

The following test is not certified (probably because the min is reached by two equal values).
min of 17 + log2(13)/log2(9) and 17 + log(13)/log(9) returns 17 + log(13) / log(9)

The following test is not certified (probably because the min is reached by two equal values).
min([|17 + log2(13) / log2(9), 17 + log(13) / log(9)|]) returns 17 + log(13) / log(9)

min of 17 + log2(13)/log2(9), 17 + log(13)/log(9), 1 returns 1

min([|17 + log2(13) / log2(9), 17 + log(13) / log(9), 1|]) returns 1

min of 1, 17 + log2(13)/log2(9) and 17 + log(13)/log(9) returns 1

min([|1, 17 + log2(13) / log2(9), 17 + log(13) / log(9)|]) returns 1

The test will rely on pure FP evaluation (probably because 0 is the minimum but it is hard to prove it).
min of sin(pi/3)-sqrt(3)/2 and 0 returns 0

The test will rely on pure FP evaluation (probably because 0 is the minimum but it is hard to prove it).
min([|sin((pi) / 3) - sqrt(3) / 2, 0|]) returns 0

min of 0, sin(pi/3)-sqrt(3)/2 and -1 returns -1

min([|0, sin((pi) / 3) - sqrt(3) / 2, -1|]) returns -1

min of -1 and sin(pi/3)-sqrt(3)/2 and 0 returns -1

min([|-1, sin((pi) / 3) - sqrt(3) / 2, 0|]) returns -1

min(2,NaN,1) returns 1

min([|2, NaN, 1|]) returns 1

Warning: the following test involves a NaN
min(2,log(-17),1) returns 1

Warning: the following test involves a NaN
min([|2, log(-17), 1|]) returns 1

min(NaN,1,2) returns 1

min([|NaN, 1, 2|]) returns 1

Warning: the following test involves a NaN
min(log(-17),1,2) returns 1

Warning: the following test involves a NaN
min([|log(-17), 1, 2|]) returns 1

min of 17 returns 17

min([|17|]) returns 17

The following expression is not correctly typed.
min of an empty list returns error

min([|4, 1, 3|], 5) returns 1