mirror of git://sourceware.org/git/glibc.git
benchtests: Improve modf benchtest
It adds four ranges, which is how the generic implementation handles normal numbers: 1. Random inputs in the range [0.0, 1.0]; 2. Random inputs in the range [1.0, (double)(UINT64_C(1) << 52))]; 3. Random inputs in the range [(double)(UINT64_C(1) << 52), DBL_MAX]; 4. Random integral inputs in the range [0.0, (double)(UINT64_C(1) << 52)]. Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
This commit is contained in:
parent
619fd4e37b
commit
1d828b9ddc