@@ -1891,7 +1891,7 @@ unittest
1891
1891
assert (cast (float )view == - 0 );
1892
1892
assert (cast (double )view == - 0x1 .1p- 511 );
1893
1893
static if (real .mant_dig >= 64 )
1894
- assert (cast (real )view == - 0x8 .80000000000019fp- 514 );
1894
+ assert (cast (real )view == - 0x8 .80000000000019fp- 514L );
1895
1895
1896
1896
view = DecimalView! Args(true , 293 , BigUIntView! Args.fromHexString(" 36496F6C4ED38" ));
1897
1897
assert (cast (float )view == - float .infinity);
@@ -1903,7 +1903,7 @@ unittest
1903
1903
assert (cast (float )view == 1 );
1904
1904
assert (cast (double )view == 1 );
1905
1905
static if (real .mant_dig >= 64 )
1906
- assert (cast (real )view == 1 );
1906
+ assert (cast (real )view == 1L );
1907
1907
1908
1908
view = DecimalView! Args(false , - 5 , BigUIntView! Args.fromHexString(" 3" ));
1909
1909
assert (cast (float )view == 3e-5f );
@@ -1963,19 +1963,19 @@ unittest
1963
1963
assert (cast (float )view == 8713e-23f );
1964
1964
assert (cast (double )view == 0x1 .9b75b4e7de2b9p- 64 );
1965
1965
static if (real .mant_dig >= 64 )
1966
- assert (cast (real )view == 0xc .dbada73ef15c401p- 67 );
1966
+ assert (cast (real )view == 0xc .dbada73ef15c401p- 67L );
1967
1967
1968
1968
view = DecimalView! Args(false , 300 , BigUIntView! Args.fromHexString(" 1" ));
1969
1969
assert (cast (float )view == float .infinity);
1970
1970
assert (cast (double )view == 0x1 .7e43c8800759cp+ 996 );
1971
1971
static if (real .mant_dig >= 64 )
1972
- assert (cast (real )view == 0xb .f21e44003acdd2dp+ 993 );
1972
+ assert (cast (real )view == 0xb .f21e44003acdd2dp+ 993L );
1973
1973
1974
1974
view = DecimalView! Args(false , 245 , BigUIntView! Args.fromHexString(" B3A73CEB227" ));
1975
1975
assert (cast (float )view == float .infinity);
1976
1976
assert (cast (double )view == 0x1 .48e3735333cb6p+ 857 );
1977
1977
static if (real .mant_dig >= 64 )
1978
- assert (cast (real )view == 0xa .471b9a999e5b01ep+ 854 );
1978
+ assert (cast (real )view == 0xa .471b9a999e5b01ep+ 854L );
1979
1979
1980
1980
view = DecimalView! Args(false , 0 , BigUIntView! Args.fromHexString(" 88BF4748507FB9900ADB624CCFF8D78897DC900FB0460327D4D86D327219" ));
1981
1981
assert (cast (float )view == float .infinity);
@@ -2059,13 +2059,13 @@ unittest
2059
2059
assert (cast (float )view == 0 );
2060
2060
assert (cast (double )view == 0 );
2061
2061
static if (real .mant_dig >= 64 )
2062
- assert (cast (real )view == 0 );
2062
+ assert (cast (real )view == 0L );
2063
2063
2064
2064
view = DecimalView! Args(false , 0 , BigUIntView! Args.init);
2065
2065
assert (cast (float )view == 0 );
2066
2066
assert (cast (double )view == 0 );
2067
2067
static if (real .mant_dig >= 64 )
2068
- assert (cast (real )view == 0 );
2068
+ assert (cast (real )view == 0L );
2069
2069
2070
2070
view = DecimalView! Args(false , - 325 , BigUIntView! Args.fromHexString(" 1" ));
2071
2071
assert (cast (float )view == 0 );
@@ -2095,13 +2095,13 @@ unittest
2095
2095
assert (cast (float )view == 0 );
2096
2096
assert (cast (double )view == 0 );
2097
2097
static if (real .mant_dig >= 64 )
2098
- assert (cast (real )view == 0 );
2098
+ assert (cast (real )view == 0L );
2099
2099
2100
2100
view = DecimalView! Args(false , - 10000 , BigUIntView! Args.fromHexString(" 1" ));
2101
2101
assert (cast (float )view == 0 );
2102
2102
assert (cast (double )view == 0 );
2103
2103
static if (real .mant_dig >= 64 )
2104
- assert (cast (real )view == 0 );
2104
+ assert (cast (real )view == 0L );
2105
2105
2106
2106
view = DecimalView! Args(false , - 4969 , BigUIntView! Args.fromHexString(" 329659A941466C6B" ));
2107
2107
assert (cast (float )view == 0 );
0 commit comments