gcc/libstdc++-v3/testsuite/26_numerics
Jonathan Wakely 6ae17a3b68 libstdc++: Fix divide by zero in default template argument
libstdc++-v3/ChangeLog:

	* include/bits/random.h (__detail::_Mod): Avoid divide by zero.
	* testsuite/26_numerics/random/linear_congruential_engine/operators/call.cc:
	New test.
2020-10-08 00:34:56 +01:00
..
accumulate libstdc++: P1645R1 constexpr for <numeric> algorithms 2020-02-26 10:23:17 -05:00
adjacent_difference libstdc++: P1645R1 constexpr for <numeric> algorithms 2020-02-26 10:23:17 -05:00
bit libstdc++ P1956R1 On the names of low-level bit manipulation functions 2020-02-17 17:09:18 +00:00
complex Update copyright years. 2020-01-01 12:51:42 +01:00
endian Update copyright years. 2020-01-01 12:51:42 +01:00
exclusive_scan libstdc++: P1645R1 constexpr for <numeric> algorithms 2020-02-26 10:23:17 -05:00
gcd libstdc++: Minor header cleanup in <numeric> 2020-10-05 22:46:46 +01:00
headers libstdc++: Ensure c++NN effective target present in all C++17 tests 2020-07-31 19:58:02 +01:00
inclusive_scan libstdc++: P1645R1 constexpr for <numeric> algorithms 2020-02-26 10:23:17 -05:00
inner_product libstdc++: P1645R1 constexpr for <numeric> algorithms 2020-02-26 10:23:17 -05:00
iota libstdc++: P1645R1 constexpr for <numeric> algorithms 2020-02-26 10:23:17 -05:00
lcm libstdc++: Minor header cleanup in <numeric> 2020-10-05 22:46:46 +01:00
midpoint libstdc++: midpoint should not constrain T is complete (LWG 3200) 2020-02-19 15:28:45 +00:00
numbers libstdc++: Avoid using __float128 in strict modes 2020-07-31 19:58:03 +01:00
partial_sum libstdc++: P1645R1 constexpr for <numeric> algorithms 2020-02-26 10:23:17 -05:00
pstl/numeric_ops Synchronize libstdc++ PSTL with upstream LLVM PSTL 2019-06-07 22:01:16 +00:00
random libstdc++: Fix divide by zero in default template argument 2020-10-08 00:34:56 +01:00
reduce libstdc++: P1645R1 constexpr for <numeric> algorithms 2020-02-26 10:23:17 -05:00
slice libstdc++: Add comparison operators to types from Numerics clause 2020-04-08 16:51:59 +01:00
slice_array Update copyright years. 2020-01-01 12:51:42 +01:00
transform_exclusive_scan libstdc++: P1645R1 constexpr for <numeric> algorithms 2020-02-26 10:23:17 -05:00
transform_inclusive_scan libstdc++: P1645R1 constexpr for <numeric> algorithms 2020-02-26 10:23:17 -05:00
transform_reduce libstdc++: P1645R1 constexpr for <numeric> algorithms 2020-02-26 10:23:17 -05:00
valarray libstdc++: Use c++NN_only effective target to tests 2020-07-31 19:58:02 +01:00
lerp.cc Update copyright years. 2020-01-01 12:51:42 +01:00