mirror of
https://github.com/boostorg/core.git
synced 2025-11-29 22:00:17 +01:00
🐛 Fix bit_ceil() to return 1 for input 0 as per specification
This commit is contained in:
@@ -21,7 +21,7 @@ template<class T> void test_bit_ceil( T x )
|
||||
|
||||
if( x == 0 )
|
||||
{
|
||||
BOOST_TEST_EQ( y, 0 );
|
||||
BOOST_TEST_EQ( y, 1 );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user