r272616 - in /trunk/libstdc++-v3: ChangeLog inc...

redi@gcc.gnu.org redi@gcc.gnu.org
Mon Jun 24 12:09:00 GMT 2019


Author: redi
Date: Mon Jun 24 12:09:51 2019
New Revision: 272616

URL: https://gcc.gnu.org/viewcvs?rev=272616&root=gcc&view=rev
Log:
Fix std::midpoint for denormal values

	* include/std/numeric (midpoint(T, T)): Change implementation for
	floating-point types to avoid incorrect rounding of denormals.
	* testsuite/26_numerics/midpoint/floating.cc: Add check for correct
	rounding with denormals.
	* testsuite/26_numerics/gcd/gcd_neg.cc: Adjust dg-error line numbers.
	* testsuite/26_numerics/lcm/lcm_neg.cc: Likewise.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/numeric
    trunk/libstdc++-v3/testsuite/26_numerics/gcd/gcd_neg.cc
    trunk/libstdc++-v3/testsuite/26_numerics/lcm/lcm_neg.cc
    trunk/libstdc++-v3/testsuite/26_numerics/midpoint/floating.cc



More information about the Libstdc++-cvs mailing list