Namespaces | Defines | Functions
intmacros.h File Reference
#include <climits>
Include dependency graph for intmacros.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  IZ

Defines

#define SS   (sizeof(int) * CHAR_BIT - 1)

Functions

static unsigned int IZ::absValue (int v)
static unsigned int IZ::bitMask (unsigned int bitCount)
static unsigned int IZ::bsr (unsigned int w)
static int IZ::cancelValue (int v, int v0)
static int IZ::clamp0 (int v)
static int IZ::clampByte (int v)
static int IZ::clampMax (int v, int max)
static int IZ::clampMin (int v, int min)
static unsigned int IZ::numBits (unsigned int v)
static int IZ::oppositeSign (int v1, int v2)
static unsigned int IZ::s2u (int s)
static int IZ::selectVal (int s, int v0, int v1)
static unsigned int IZ::signBit (int v)
static int IZ::u2s (unsigned int u)

Define Documentation

#define SS   (sizeof(int) * CHAR_BIT - 1)

Definition at line 9 of file intmacros.h.



imagezero
Author(s):
autogenerated on Thu Jun 6 2019 21:34:51