#ifndef BROTLI_ENC_FAST_LOG_H_
#define BROTLI_ENC_FAST_LOG_H_
#include <math.h>
#include "../common/platform.h"
#include <brotli/types.h>
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
static BROTLI_INLINE uint32_t Log2FloorNonZero(size_t n) { … }
#define BROTLI_LOG2_TABLE_SIZE …
BROTLI_INTERNAL extern const double kBrotliLog2Table[BROTLI_LOG2_TABLE_SIZE];
#if !defined(BROTLI_HAVE_LOG2)
#if ((defined(_MSC_VER) && _MSC_VER <= 1700) || \
(defined(__ANDROID_API__) && __ANDROID_API__ < 18))
#define BROTLI_HAVE_LOG2 …
#else
#define BROTLI_HAVE_LOG2 …
#endif
#endif
#define LOG_2_INV …
static BROTLI_INLINE double FastLog2(size_t v) { … }
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif