@@ -262,6 +262,7 @@ INPUT_SET(InputSet::Default3, true, false, true, false, true, true, true, true,
262262INPUT_SET (InputSet::Zero, false );
263263INPUT_SET (InputSet::NoZero, true );
264264INPUT_SET (InputSet::SelectCond, false , true );
265+ INPUT_SET (InputSet::Infinite, std::numeric_limits<HLSLBool_t>::infinity());
265266END_INPUT_SETS ()
266267
267268BEGIN_INPUT_SETS (int16_t )
@@ -275,6 +276,8 @@ INPUT_SET(InputSet::Bitwise, std::numeric_limits<int16_t>::min(), -1, 0, 1, 3,
275276 6 , 9 , 0x5555 , static_cast <int16_t >(0xAAAA ),
276277 std::numeric_limits<int16_t >::max());
277278INPUT_SET (InputSet::SelectCond, 0 , 1 );
279+ INPUT_SET (InputSet::Infinite, std::numeric_limits<int16_t >::infinity(),
280+ -std::numeric_limits<int16_t>::infinity());
278281END_INPUT_SETS ()
279282
280283BEGIN_INPUT_SETS(int32_t )
@@ -288,6 +291,8 @@ INPUT_SET(InputSet::Bitwise, std::numeric_limits<int32_t>::min(), -1, 0, 1, 3,
288291 6, 9, 0x55555555, static_cast<int32_t>(0xAAAAAAAA ),
289292 std::numeric_limits<int32_t>::max());
290293INPUT_SET (InputSet::SelectCond, 0 , 1 );
294+ INPUT_SET (InputSet::Infinite, std::numeric_limits<int32_t >::infinity(),
295+ -std::numeric_limits<int32_t>::infinity());
291296END_INPUT_SETS ()
292297
293298BEGIN_INPUT_SETS(int64_t )
@@ -301,6 +306,8 @@ INPUT_SET(InputSet::Bitwise, std::numeric_limits<int64_t>::min(), -1, 0, 1, 3,
301306 6, 9, 0x5555555555555555LL, 0xAAAAAAAAAAAAAAAALL,
302307 std::numeric_limits<int64_t>::max());
303308INPUT_SET (InputSet::SelectCond, 0 , 1 );
309+ INPUT_SET (InputSet::Infinite, std::numeric_limits<int64_t >::infinity(),
310+ -std::numeric_limits<int64_t>::infinity());
304311END_INPUT_SETS ()
305312
306313BEGIN_INPUT_SETS(uint16_t )
@@ -311,6 +318,7 @@ INPUT_SET(InputSet::BitShiftRhs, 1, 6, 3, 0, 9, 3, 12, 13, 14, 15);
311318INPUT_SET (InputSet::Bitwise, 0 , 1 , 3 , 6 , 9 , 0x5555 , 0xAAAA , 0x8000 , 127 ,
312319 std::numeric_limits<uint16_t >::max());
313320INPUT_SET (InputSet::SelectCond, 0 , 1 );
321+ INPUT_SET (InputSet::Infinite, std::numeric_limits<uint16_t >::infinity());
314322END_INPUT_SETS ()
315323
316324BEGIN_INPUT_SETS(uint32_t )
@@ -321,6 +329,7 @@ INPUT_SET(InputSet::BitShiftRhs, 1, 6, 3, 0, 9, 3, 30, 31, 32);
321329INPUT_SET (InputSet::Bitwise, 0 , 1 , 3 , 6 , 9 , 0x55555555 , 0xAAAAAAAA , 0x80000000 ,
322330 127 , std::numeric_limits<uint32_t >::max());
323331INPUT_SET (InputSet::SelectCond, 0 , 1 );
332+ INPUT_SET (InputSet::Infinite, std::numeric_limits<uint32_t >::infinity());
324333END_INPUT_SETS ()
325334
326335BEGIN_INPUT_SETS(uint64_t )
@@ -332,6 +341,7 @@ INPUT_SET(InputSet::Bitwise, 0, 1, 3, 6, 9, 0x5555555555555555,
332341 0xAAAAAAAAAAAAAAAA , 0x8000000000000000 , 127 ,
333342 std::numeric_limits<uint64_t >::max());
334343INPUT_SET (InputSet::SelectCond, 0 , 1 );
344+ INPUT_SET (InputSet::Infinite, std::numeric_limits<uint64_t >::infinity());
335345END_INPUT_SETS ()
336346
337347BEGIN_INPUT_SETS(HLSLHalf_t)
@@ -348,6 +358,8 @@ INPUT_SET(InputSet::RangeOne, 0.331, 0.727, -0.957, 0.677, -0.025, 0.495, 0.855,
348358INPUT_SET (InputSet::Positive, 1.0 , 1.0 , 342.0 , 0.01 , 5531.0 , 0.01 , 1.0 , 0.01 ,
349359 331.2330 , 3250.01 );
350360INPUT_SET (InputSet::SelectCond, 0.0 , 1.0 );
361+ INPUT_SET (InputSet::Infinite, std::numeric_limits<HLSLHalf_t>::infinity(),
362+ -std::numeric_limits<HLSLHalf_t>::infinity());
351363END_INPUT_SETS ()
352364
353365BEGIN_INPUT_SETS(float )
@@ -364,8 +376,8 @@ INPUT_SET(InputSet::RangeOne, 0.727f, 0.331f, -0.957f, 0.677f, -0.025f, 0.495f,
364376INPUT_SET (InputSet::Positive, 1 .0f , 1 .0f , 65535 .0f , 0 .01f , 5531 .0f , 0 .01f , 1 .0f ,
365377 0 .01f , 331 .2330f , 3250 .01f );
366378INPUT_SET (InputSet::SelectCond, 0 .0f , 1 .0f );
367- INPUT_SET (InputSet::Infinite,
368- std::numeric_limits< float >::infinity(), -std::numeric_limits<float>::infinity(), 32 );
379+ INPUT_SET (InputSet::Infinite, std::numeric_limits< float >::infinity(),
380+ -std::numeric_limits<float>::infinity());
369381END_INPUT_SETS ()
370382
371383BEGIN_INPUT_SETS(double )
@@ -384,6 +396,8 @@ INPUT_SET(InputSet::SplitDouble, 0.0, -1.0, 1.0, -1.0, 12345678.87654321, -1.0,
384396INPUT_SET (InputSet::Positive, 1.0 , 1.0 , 65535.0 , 0.01 , 5531.0 , 0.01 , 1.0 , 0.01 ,
385397 331.2330 , 3250.01 );
386398INPUT_SET (InputSet::SelectCond, 0.0 , 1.0 );
399+ INPUT_SET (InputSet::Infinite, std::numeric_limits<double >::infinity(),
400+ -std::numeric_limits<double>::infinity());
387401END_INPUT_SETS ()
388402
389403#undef BEGIN_INPUT_SETS
0 commit comments