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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
|
2%float
: float
2.5%float
: float
(-2.5)%float
: float
File "./output/FloatNumberSyntax.v", line 9, characters 6-13:
Warning: The constant 2.5e123 is not a binary64 floating-point value. A
closest value 0x1.e412f0f768fadp+409 will be used and unambiguously printed
2.4999999999999999e+123. [inexact-float,parsing,default]
2.4999999999999999e+123%float
: float
File "./output/FloatNumberSyntax.v", line 10, characters 7-16:
Warning: The constant -2.5e-123 is not a binary64 floating-point value. A
closest value -0x1.a71368f0f3047p-408 will be used and unambiguously printed
-2.5000000000000001e-123. [inexact-float,parsing,default]
(-2.5000000000000001e-123)%float
: float
(2 + 2)%float
: float
(2.5 + 2.5)%float
: float
2
: float
2.5
: float
-2.5
: float
File "./output/FloatNumberSyntax.v", line 19, characters 6-13:
Warning: The constant 2.5e123 is not a binary64 floating-point value. A
closest value 0x1.e412f0f768fadp+409 will be used and unambiguously printed
2.4999999999999999e+123. [inexact-float,parsing,default]
2.4999999999999999e+123
: float
File "./output/FloatNumberSyntax.v", line 20, characters 7-16:
Warning: The constant -2.5e-123 is not a binary64 floating-point value. A
closest value -0x1.a71368f0f3047p-408 will be used and unambiguously printed
-2.5000000000000001e-123. [inexact-float,parsing,default]
-2.5000000000000001e-123
: float
2 + 2
: float
2.5 + 2.5
: float
-26
: float
11.171875
: float
-6882
: float
44.6875
: float
2860
: float
-2.79296875
: float
File "./output/FloatNumberSyntax.v", line 30, characters 6-11:
Warning: The constant 1e309 is not a binary64 floating-point value. A closest
value infinity will be used and unambiguously printed infinity.
[inexact-float,parsing,default]
infinity
: float
File "./output/FloatNumberSyntax.v", line 31, characters 6-12:
Warning: The constant -1e309 is not a binary64 floating-point value. A
closest value neg_infinity will be used and unambiguously printed
neg_infinity. [inexact-float,parsing,default]
neg_infinity
: float
0x1p-1
: float
0.5
: float
0x1p-1
: float
0.5
: float
2
: nat
2%float
: float
File "./output/FloatNumberSyntax.v", line 47, characters 0-35:
Warning: Overwriting previous delimiting key float in scope float_scope
[overwriting-delimiting-key,parsing,default]
t = 2%flt
: float
File "./output/FloatNumberSyntax.v", line 50, characters 0-35:
Warning: Overwriting previous delimiting key nat in scope nat_scope
[overwriting-delimiting-key,parsing,default]
File "./output/FloatNumberSyntax.v", line 50, characters 0-35:
Warning: Hiding binding of key float to float_scope
[hiding-delimiting-key,parsing,default]
t = 2%flt
: float
2
: nat
2
: float
|