File tree Expand file tree Collapse file tree 7 files changed +262
-7
lines changed Expand file tree Collapse file tree 7 files changed +262
-7
lines changed Original file line number Diff line number Diff line change 11
11
"data" : 1 ,
12
12
"valid" : true
13
13
},
14
+ {
15
+ "description" : " a negative integer is an integer" ,
16
+ "data" : -1 ,
17
+ "valid" : true
18
+ },
19
+ {
20
+ "description" : " zero is an integer" ,
21
+ "data" : 0 ,
22
+ "valid" : true
23
+ },
24
+ {
25
+ "description" : " negative zero is an integer" ,
26
+ "data" : -0 ,
27
+ "valid" : true
28
+ },
14
29
{
15
30
"description" : " a float with zero fractional part is an integer" ,
16
31
"data" : 1.0 ,
17
32
"valid" : true
18
33
},
19
34
{
20
- "description" : " a float is not an integer" ,
35
+ "description" : " a float with an exponent and a zero fractional part is an integer" ,
36
+ "data" : 1e0 ,
37
+ "valid" : true
38
+ },
39
+ {
40
+ "description" : " a small float whose non-zero fractional part is truncated in a binary64 float is an integer" ,
41
+ "data" : 1.00000000000001 ,
42
+ "valid" : true
43
+ },
44
+ {
45
+ "description" : " a large float whose non-zero fractional part is truncated in a binary64 float is an integer" ,
46
+ "data" : 9007199254740991.5 ,
47
+ "valid" : true
48
+ },
49
+ {
50
+ "description" : " a number near the maximum representable value for a binary64 float is an integer" ,
51
+ "data" : 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 ,
52
+ "valid" : true
53
+ },
54
+ {
55
+ "description" : " a float with a non-zero fractional part is not an integer" ,
21
56
"data" : 1.1 ,
22
57
"valid" : false
23
58
},
Original file line number Diff line number Diff line change 11
11
"data" : 1 ,
12
12
"valid" : true
13
13
},
14
+ {
15
+ "description" : " a negative integer is an integer" ,
16
+ "data" : -1 ,
17
+ "valid" : true
18
+ },
19
+ {
20
+ "description" : " zero is an integer" ,
21
+ "data" : 0 ,
22
+ "valid" : true
23
+ },
24
+ {
25
+ "description" : " negative zero is an integer" ,
26
+ "data" : -0 ,
27
+ "valid" : true
28
+ },
14
29
{
15
30
"description" : " a float with zero fractional part is an integer" ,
16
31
"data" : 1.0 ,
17
32
"valid" : true
18
33
},
19
34
{
20
- "description" : " a float is not an integer" ,
35
+ "description" : " a float with an exponent and a zero fractional part is an integer" ,
36
+ "data" : 1e0 ,
37
+ "valid" : true
38
+ },
39
+ {
40
+ "description" : " a small float whose non-zero fractional part is truncated in a binary64 float is an integer" ,
41
+ "data" : 1.00000000000001 ,
42
+ "valid" : true
43
+ },
44
+ {
45
+ "description" : " a large float whose non-zero fractional part is truncated in a binary64 float is an integer" ,
46
+ "data" : 9007199254740991.5 ,
47
+ "valid" : true
48
+ },
49
+ {
50
+ "description" : " a number near the maximum representable value for a binary64 float is an integer" ,
51
+ "data" : 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 ,
52
+ "valid" : true
53
+ },
54
+ {
55
+ "description" : " a float with a non-zero fractional part is not an integer" ,
21
56
"data" : 1.1 ,
22
57
"valid" : false
23
58
},
Original file line number Diff line number Diff line change 11
11
"data" : 1 ,
12
12
"valid" : true
13
13
},
14
+ {
15
+ "description" : " a negative integer is an integer" ,
16
+ "data" : -1 ,
17
+ "valid" : true
18
+ },
19
+ {
20
+ "description" : " zero is an integer" ,
21
+ "data" : 0 ,
22
+ "valid" : true
23
+ },
24
+ {
25
+ "description" : " negative zero is an integer" ,
26
+ "data" : -0 ,
27
+ "valid" : true
28
+ },
14
29
{
15
30
"description" : " a float with zero fractional part is an integer" ,
16
31
"data" : 1.0 ,
17
32
"valid" : true
18
33
},
19
34
{
20
- "description" : " a float is not an integer" ,
35
+ "description" : " a float with an exponent and a zero fractional part is an integer" ,
36
+ "data" : 1e0 ,
37
+ "valid" : true
38
+ },
39
+ {
40
+ "description" : " a small float whose non-zero fractional part is truncated in a binary64 float is an integer" ,
41
+ "data" : 1.00000000000001 ,
42
+ "valid" : true
43
+ },
44
+ {
45
+ "description" : " a large float whose non-zero fractional part is truncated in a binary64 float is an integer" ,
46
+ "data" : 9007199254740991.5 ,
47
+ "valid" : true
48
+ },
49
+ {
50
+ "description" : " a number near the maximum representable value for a binary64 float is an integer" ,
51
+ "data" : 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 ,
52
+ "valid" : true
53
+ },
54
+ {
55
+ "description" : " a float with a non-zero fractional part is not an integer" ,
21
56
"data" : 1.1 ,
22
57
"valid" : false
23
58
},
Original file line number Diff line number Diff line change 9
9
"valid" : true
10
10
},
11
11
{
12
- "description" : " a float is not an integer" ,
12
+ "description" : " a negative integer is an integer" ,
13
+ "data" : -1 ,
14
+ "valid" : true
15
+ },
16
+ {
17
+ "description" : " zero is an integer" ,
18
+ "data" : 0 ,
19
+ "valid" : true
20
+ },
21
+ {
22
+ "description" : " negative zero is an integer" ,
23
+ "data" : -0 ,
24
+ "valid" : true
25
+ },
26
+ {
27
+ "description" : " a float with zero fractional part is an integer" ,
28
+ "data" : 1.0 ,
29
+ "valid" : true
30
+ },
31
+ {
32
+ "description" : " a float with an exponent and a zero fractional part is an integer" ,
33
+ "data" : 1e0 ,
34
+ "valid" : true
35
+ },
36
+ {
37
+ "description" : " a small float whose non-zero fractional part is truncated in a binary64 float is an integer" ,
38
+ "data" : 1.00000000000001 ,
39
+ "valid" : true
40
+ },
41
+ {
42
+ "description" : " a large float whose non-zero fractional part is truncated in a binary64 float is an integer" ,
43
+ "data" : 9007199254740991.5 ,
44
+ "valid" : true
45
+ },
46
+ {
47
+ "description" : " a number near the maximum representable value for a binary64 float is an integer" ,
48
+ "data" : 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 ,
49
+ "valid" : true
50
+ },
51
+ {
52
+ "description" : " a float with a non-zero fractional part is not an integer" ,
13
53
"data" : 1.1 ,
14
54
"valid" : false
15
55
},
Original file line number Diff line number Diff line change 9
9
"valid" : true
10
10
},
11
11
{
12
- "description" : " a float is not an integer" ,
12
+ "description" : " a negative integer is an integer" ,
13
+ "data" : -1 ,
14
+ "valid" : true
15
+ },
16
+ {
17
+ "description" : " zero is an integer" ,
18
+ "data" : 0 ,
19
+ "valid" : true
20
+ },
21
+ {
22
+ "description" : " negative zero is an integer" ,
23
+ "data" : -0 ,
24
+ "valid" : true
25
+ },
26
+ {
27
+ "description" : " a float with zero fractional part is an integer" ,
28
+ "data" : 1.0 ,
29
+ "valid" : true
30
+ },
31
+ {
32
+ "description" : " a float with an exponent and a zero fractional part is an integer" ,
33
+ "data" : 1e0 ,
34
+ "valid" : true
35
+ },
36
+ {
37
+ "description" : " a small float whose non-zero fractional part is truncated in a binary64 float is an integer" ,
38
+ "data" : 1.00000000000001 ,
39
+ "valid" : true
40
+ },
41
+ {
42
+ "description" : " a large float whose non-zero fractional part is truncated in a binary64 float is an integer" ,
43
+ "data" : 9007199254740991.5 ,
44
+ "valid" : true
45
+ },
46
+ {
47
+ "description" : " a number near the maximum representable value for a binary64 float is an integer" ,
48
+ "data" : 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 ,
49
+ "valid" : true
50
+ },
51
+ {
52
+ "description" : " a float with a non-zero fractional part is not an integer" ,
13
53
"data" : 1.1 ,
14
54
"valid" : false
15
55
},
Original file line number Diff line number Diff line change 8
8
"data" : 1 ,
9
9
"valid" : true
10
10
},
11
+ {
12
+ "description" : " a negative integer is an integer" ,
13
+ "data" : -1 ,
14
+ "valid" : true
15
+ },
16
+ {
17
+ "description" : " zero is an integer" ,
18
+ "data" : 0 ,
19
+ "valid" : true
20
+ },
21
+ {
22
+ "description" : " negative zero is an integer" ,
23
+ "data" : -0 ,
24
+ "valid" : true
25
+ },
11
26
{
12
27
"description" : " a float with zero fractional part is an integer" ,
13
28
"data" : 1.0 ,
14
29
"valid" : true
15
30
},
16
31
{
17
- "description" : " a float is not an integer" ,
32
+ "description" : " a float with an exponent and a zero fractional part is an integer" ,
33
+ "data" : 1e0 ,
34
+ "valid" : true
35
+ },
36
+ {
37
+ "description" : " a small float whose non-zero fractional part is truncated in a binary64 float is an integer" ,
38
+ "data" : 1.00000000000001 ,
39
+ "valid" : true
40
+ },
41
+ {
42
+ "description" : " a large float whose non-zero fractional part is truncated in a binary64 float is an integer" ,
43
+ "data" : 9007199254740991.5 ,
44
+ "valid" : true
45
+ },
46
+ {
47
+ "description" : " a number near the maximum representable value for a binary64 float is an integer" ,
48
+ "data" : 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 ,
49
+ "valid" : true
50
+ },
51
+ {
52
+ "description" : " a float with a non-zero fractional part is not an integer" ,
18
53
"data" : 1.1 ,
19
54
"valid" : false
20
55
},
Original file line number Diff line number Diff line change 8
8
"data" : 1 ,
9
9
"valid" : true
10
10
},
11
+ {
12
+ "description" : " a negative integer is an integer" ,
13
+ "data" : -1 ,
14
+ "valid" : true
15
+ },
16
+ {
17
+ "description" : " zero is an integer" ,
18
+ "data" : 0 ,
19
+ "valid" : true
20
+ },
21
+ {
22
+ "description" : " negative zero is an integer" ,
23
+ "data" : -0 ,
24
+ "valid" : true
25
+ },
11
26
{
12
27
"description" : " a float with zero fractional part is an integer" ,
13
28
"data" : 1.0 ,
14
29
"valid" : true
15
30
},
16
31
{
17
- "description" : " a float is not an integer" ,
32
+ "description" : " a float with an exponent and a zero fractional part is an integer" ,
33
+ "data" : 1e0 ,
34
+ "valid" : true
35
+ },
36
+ {
37
+ "description" : " a small float whose non-zero fractional part is truncated in a binary64 float is an integer" ,
38
+ "data" : 1.00000000000001 ,
39
+ "valid" : true
40
+ },
41
+ {
42
+ "description" : " a large float whose non-zero fractional part is truncated in a binary64 float is an integer" ,
43
+ "data" : 9007199254740991.5 ,
44
+ "valid" : true
45
+ },
46
+ {
47
+ "description" : " a number near the maximum representable value for a binary64 float is an integer" ,
48
+ "data" : 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 ,
49
+ "valid" : true
50
+ },
51
+ {
52
+ "description" : " a float with a non-zero fractional part is not an integer" ,
18
53
"data" : 1.1 ,
19
54
"valid" : false
20
55
},
You can’t perform that action at this time.
0 commit comments