Dataflow Runtime API  4.0.1.0
Classes | Functions
imt::base::core::platform Namespace Reference

Classes

class  CppVersion
 Provides check for the C++ version suppoprted by the compiler according to cpp reference. More...
 
class  Noncopyable
 Base class for a non copyable class that disables copy and assignment of instances. More...
 
class  Nonmovable
 Base class for a not movable class that disables copy, assignment and move of instances. More...
 
class  StaticClass
 Base class for a static class that disables construction, copy, assignment and move of instances. More...
 
class  Version
 Static class with version informations on the Imt.Base libraries. More...
 

Functions

uint8_t countLeadingZeros (uint32_t const x)
 Platform independent implementation of the IAR intrinsic __clz, which counts the number of leading zero bits of the input value. More...
 

Function Documentation

◆ countLeadingZeros()

uint8_t imt::base::core::platform::countLeadingZeros ( uint32_t const  x)
inline

Platform independent implementation of the IAR intrinsic __clz, which counts the number of leading zero bits of the input value.

Parameters
xThe input value.
Returns
The number of leading zero bits in x.