Division operators

Synopses

Declared in <llvm/ADT/DynamicAPInt.h>

Returns A divided by B.

DynamicAPInt
operator/(
    int64_t A,
    DynamicAPInt const& B);

Returns A divided by B.

DynamicAPInt
operator/(
    DynamicAPInt const& A,
    int64_t B);

Return the saturating quotient of LHS divided by RHS.

Return the quotient of L and R using saturating arithmetic.

template<class DigitsT>
ScaledNumber<DigitsT>
operator/(
    ScaledNumber<DigitsT> const& L,
    ScaledNumber<DigitsT> const& R);

Return Value

  • Quotient of A divided by B.

  • The saturating quotient of LHS divided by RHS.

  • Quotient of L and R.

Parameters

Name

Description

A

Dividend.

B

Divisor.

LHS

Left‐hand cost.

RHS

Right‐hand cost.

L

Left‐hand scaled number.

R

Right‐hand scaled number.

Created with MrDocs