Lines Matching refs:ldesc
128 char ldesc[128]; in basicTests() local
131 std::snprintf(ldesc, sizeof ldesc, "%s j=%d x=0x%jx rm=%d", desc, in basicTests()
134 TEST(!ix.IsNegative())(ldesc); in basicTests()
135 MATCH(x, ix.ToUInt64())(ldesc); in basicTests()
137 TEST(!vr.value.IsNegative())(ldesc); in basicTests()
138 TEST(!vr.value.IsNotANumber())(ldesc); in basicTests()
139 TEST(!vr.value.IsZero())(ldesc); in basicTests()
142 TEST(vr.flags.test(RealFlag::Overflow))(ldesc); in basicTests()
143 TEST(vr.value.IsInfinite())(ldesc); in basicTests()
144 TEST(ivf.flags.test(RealFlag::Overflow))(ldesc); in basicTests()
145 MATCH(0x7fffffffffffffff, ivf.value.ToUInt64())(ldesc); in basicTests()
147 TEST(vr.flags.empty())(ldesc); in basicTests()
148 TEST(!vr.value.IsInfinite())(ldesc); in basicTests()
149 TEST(ivf.flags.empty())(ldesc); in basicTests()
150 MATCH(x, ivf.value.ToUInt64())(ldesc); in basicTests()
158 ("%s %s", ldesc, p); in basicTests()
161 MATCH(x, icheck.value.ToUInt64())(ldesc); in basicTests()
162 TEST(vr.value.Compare(check.value) == Relation::Equal)(ldesc); in basicTests()
166 (ldesc); in basicTests()
168 TEST(ix.IsNegative())(ldesc); in basicTests()
171 MATCH(x, ix.ToUInt64())(ldesc); in basicTests()
172 MATCH(nx, ix.ToInt64())(ldesc); in basicTests()
174 TEST(vr.value.IsNegative())(ldesc); in basicTests()
175 TEST(!vr.value.IsNotANumber())(ldesc); in basicTests()
176 TEST(!vr.value.IsZero())(ldesc); in basicTests()
179 TEST(vr.flags.test(RealFlag::Overflow))(ldesc); in basicTests()
180 TEST(vr.value.IsInfinite())(ldesc); in basicTests()
181 TEST(ivf.flags.test(RealFlag::Overflow))(ldesc); in basicTests()
182 MATCH(0x8000000000000000, ivf.value.ToUInt64())(ldesc); in basicTests()
184 TEST(vr.flags.empty())(ldesc); in basicTests()
185 TEST(!vr.value.IsInfinite())(ldesc); in basicTests()
186 TEST(ivf.flags.empty())(ldesc); in basicTests()
187 MATCH(x, ivf.value.ToUInt64())(ldesc); in basicTests()
188 MATCH(nx, ivf.value.ToInt64())(ldesc); in basicTests()
191 (ldesc); in basicTests()