abc/src/bdd/cudd/cuddApa.c
/**Function********************************************************************

  Synopsis    [Sets an arbitrary precision integer to a one-digit literal.]

  Description [Sets an arbitrary precision integer to a one-digit literal.]

  SideEffects [The result is returned in parameter <code>number</code>.]

  SeeAlso     []

******************************************************************************/
Function
Synopsis    [Sets an arbitrary precision integer to a one-digit literal.]

Description [Sets an arbitrary precision integer to a one-digit literal.]

SideEffects [The result is returned in parameter number.]


Function Synopsis [ Sets an arbitrary precision integer to a one - digit literal . ] Description [ Sets an arbitrary precision integer to a one - digit literal . ] SideEffects [ The result is returned in parameter number . ]
void
Cudd_ApaSetToLiteral(
  int  digits,
  DdApaNumber  number,
  DdApaDigit  literal)
{
    int i;
    for (i = 0; i < digits - 1; i++)
        number[i] = 0;
    number[digits - 1] = literal;
}
void Cudd_ApaSetToLiteral ( int digits , DdApaNumber number , DdApaDigit literal ) { int i ; for ( i = 0 ; i < digits - 1 ; i ++ ) number [ i ] = 0 ; number [ digits - 1 ] = literal ; }
Function
Synopsis    [Sets an arbitrary precision integer to a one-digit literal.]
Function Synopsis [ Sets an arbitrary precision integer to a one - digit literal . ]