2 #ifndef _libint_constants_h_ 3 #define _libint_constants_h_ 5 static const char cart_comp[] =
"XYZ";
6 static const char am_letter[] =
"0pdfghiklmnoqrtuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
7 static const char *number[] = {
"zero",
"one",
"two",
"three",
"four",
"five",
"six",
"seven",
"eight",
"nine",
"ten",
"eleven",
8 "twelve",
"thirteen",
"fourteen",
"fifteen",
"sixteen",
"seventeen",
"eighteen",
"nineteen",
"twenty",
9 "twentyone",
"twentytwo",
"twentythree",
"twentyfour",
"twentyfive",
"twentysix",
"twentyseven",
10 "twentyeight",
"twentynine",
"thirty",
"thirtyone",
"thirtytwo"};
12 static inline int io(
int i) {
return i*(i+1)/2; }
13 static inline int iop1(
int i) {
return (i+1)*(i+2)/2; }
20 static inline int hash(
int a[2][3],
int b[2])
34 return c[0]*io(b[1]+1)+c[1];