From 02ec0b53df0a966048500e659389dbb987847c49 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 15 Dec 2017 16:17:37 +0100 Subject: Math utils: Make it more clear what the functions are returning --- source/blender/blenlib/BLI_math_bits.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenlib/BLI_math_bits.h') diff --git a/source/blender/blenlib/BLI_math_bits.h b/source/blender/blenlib/BLI_math_bits.h index 1d0ee77feed..40a1d84b0e1 100644 --- a/source/blender/blenlib/BLI_math_bits.h +++ b/source/blender/blenlib/BLI_math_bits.h @@ -31,6 +31,7 @@ extern "C" { #include "BLI_math_inline.h" +/* NOTE: Those functions returns 2 to the power of index of highest order bit. */ MINLINE unsigned int highest_order_bit_uint(unsigned int n); MINLINE unsigned short highest_order_bit_s(unsigned short n); -- cgit v1.2.3