bridge/class-master/depend/pari/src/language/es.c
/* # of decimal digits, assume l > 0 */
of decimal digits, assume l > 0
of decimal digits assume l > 0
static long
numdig(ulong l)
{
  if (l < 100000)
  {
    if (l < 100)    return (l < 10)? 1: 2;
    if (l < 10000)  return (l < 1000)? 3: 4;
    return 5;
  }
  if (l < 10000000)   return (l < 1000000)? 6: 7;
  if (l < 1000000000) return (l < 100000000)? 8: 9;
  return 10;
}
static long numdig ( ulong l ) { if ( l < 100000 ) { if ( l < 100 ) return ( l < 10 ) ? 1 : 2 ; if ( l < 10000 ) return ( l < 1000 ) ? 3 : 4 ; return 5 ; } if ( l < 10000000 ) return ( l < 1000000 ) ? 6 : 7 ; if ( l < 1000000000 ) return ( l < 100000000 ) ? 8 : 9 ; return 10 ; }
of decimal digits, assume l > 0
of decimal digits assume l > 0