Documentation

ALIGN_DOWN

ALIGN_DOWN Description Aligns the given value down to the nearest multiple of alignment.

Read More

ALIGN_DOWN_POW2

ALIGN_DOWN_POW2 Description Aligns the given value down to the nearest power-of-two multiple.

Read More

ALIGN_UP

ALIGN_UP Description Aligns the given value up to the nearest multiple of alignment.

Read More

ALIGN_UP_POW2

ALIGN_UP_POW2 Description Aligns the given value up to the nearest power-of-two multiple.

Read More

APPLY_MACRO_FOREACH

APPLY_MACRO_FOREACH Description Expand variadic argument list for given macro for each element one by one. This is a macro trick to apply a given macro on a variadic argument list one by one. The only limitiation here is that we cannot expand more than 256 times for the moment. To make it do more than that, we just need to add one more line to the EXPAND macros Also, if you have more than 20-30 arguments in your format strings, you should seriously consider whether you’re doing something wrong Reference : https://www.scs.stanford.edu/~dm/blog/va-opt.html

Read More

APPLY_MACRO_FOREACH_AGAIN

APPLY_MACRO_FOREACH_AGAIN Description Helper macro to delay evaluation in text generation (pre-processing) phase of macro

Read More

APPLY_MACRO_FOREACH_HELPER

APPLY_MACRO_FOREACH_HELPER Description Helper macro to apply given macro to the very first argument in list of variadic macro arguments Then expands to applying the same macro to more arguments only if there are more

Read More

BitVecAlignmentScore

BitVecAlignmentScore Description Calculate alignment score between two bitvectors. Used in bioinformatics-style sequence alignment with match/mismatch scoring.

Read More

BitVecAll

BitVecAll Description Check if all bits in bitvector match the given value.

Read More

BitVecAnd

BitVecAnd Description Perform bitwise AND operation between two bitvectors. Result is stored in the first bitvector.

Read More