float: almost_equal takes unsigned ULPs
This commit is contained in:
parent
b704e66d3d
commit
794a688470
@ -106,7 +106,7 @@ template <unsigned int E, unsigned int S>
|
||||
bool
|
||||
ieee_float<E, S>::almost_equal (floating_t _a,
|
||||
floating_t _b,
|
||||
uint_t ulps)
|
||||
unsigned ulps)
|
||||
{
|
||||
// Ensure ULPs is small enough that the default NaNs won't compare as
|
||||
// equal to anything else.
|
||||
|
Loading…
Reference in New Issue
Block a user