retdec
Namespaces | Functions
math.cpp File Reference

Mathematical utilities. More...

#include "retdec/utils/math.h"

Namespaces

 retdec
 
 retdec::utils
 

Functions

unsigned retdec::utils::countBits (unsigned long long n)
 Counts all 1 bits in the given number. More...
 
unsigned retdec::utils::bitSizeOfNumber (unsigned long long v)
 Returns the number of bits needed to encode the given number. More...
 

Detailed Description

Mathematical utilities.