[#BloombergLP-bdlb-BitStringImpUtil-minusEqBits]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitStringImpUtil.adoc[BitStringImpUtil]::minusEqBits
:relfileprefix: ../../../
:mrdocs:

Bitwise MINUS the specified least&hyphen;significant `numBits` in the specified `srcValue` from those in the specified `dstValue` starting at the specified `dstIndex`&period; The behavior is undefined unless `0 &lt;&equals; dstIndex`, `0 &lt;&equals; numBits`, and `dstIndex &plus; numBits &lt;&equals; k&lowbar;BITS&lowbar;PER&lowbar;UINT64`&period; Note that the bitwise difference, `a &hyphen; b`, is defined in C&plus;&plus; code as `a &amp; &#126;b`&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;bitstringimputil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
minusEqBits(
    uint64&lowbar;t* dstValue,
    int dstIndex,
    uint64&lowbar;t srcValue,
    int numBits);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
