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
62
63
64
65
66
67
68
|
2%float
: float
2.5%float
: float
(-2.5)%float
: float
File "stdin", line 9, characters 6-13:
Warning: The constant 2.5e123 is not a binary64 floating-point value. A
closest value will be used and unambiguously printed 2.4999999999999999e+123.
[inexact-float,parsing]
2.4999999999999999e+123%float
: float
File "stdin", line 10, characters 7-16:
Warning: The constant -2.5e-123 is not a binary64 floating-point value. A
closest value will be used and unambiguously printed
-2.5000000000000001e-123. [inexact-float,parsing]
(-2.5000000000000001e-123)%float
: float
(2 + 2)%float
: float
(2.5 + 2.5)%float
: float
2
: float
2.5
: float
-2.5
: float
File "stdin", line 19, characters 6-13:
Warning: The constant 2.5e123 is not a binary64 floating-point value. A
closest value will be used and unambiguously printed 2.4999999999999999e+123.
[inexact-float,parsing]
2.4999999999999999e+123
: float
File "stdin", line 20, characters 7-16:
Warning: The constant -2.5e-123 is not a binary64 floating-point value. A
closest value will be used and unambiguously printed
-2.5000000000000001e-123. [inexact-float,parsing]
-2.5000000000000001e-123
: float
2 + 2
: float
2.5 + 2.5
: float
File "stdin", line 24, characters 6-11:
Warning: The constant 1e309 is not a binary64 floating-point value. A closest
value will be used and unambiguously printed infinity.
[inexact-float,parsing]
infinity
: float
File "stdin", line 25, characters 6-12:
Warning: The constant -1e309 is not a binary64 floating-point value. A
closest value will be used and unambiguously printed neg_infinity.
[inexact-float,parsing]
neg_infinity
: float
2
: nat
2%float
: float
t = 2%flt
: float
t = 2%flt
: float
2
: nat
2
: float
|