D | i32operations.c | 32 struct pred_s preds[] = { variable 52 for (i = 0; i < sizeof(preds)/sizeof(preds[0]); ++i) { in main() 53 printf("a %s a = %s\n", preds[i].name, boolstring((*preds[i].predfunc)(a, a))); in main() 54 printf("a %s a = %s\n", preds[i].name, boolstring((*preds[i].predfunc)(a, a))); in main() 55 printf("a %s b = %s\n", preds[i].name, boolstring((*preds[i].predfunc)(a, b))); in main() 56 printf("a %s c = %s\n", preds[i].name, boolstring((*preds[i].predfunc)(a, c))); in main() 57 printf("d %s e = %s\n", preds[i].name, boolstring((*preds[i].predfunc)(d, e))); in main() 58 printf("e %s e = %s\n", preds[i].name, boolstring((*preds[i].predfunc)(e, e))); in main() 60 printf("a %s a ? c : d = %d\n", preds[i].name, (*preds[i].selfunc)(a, a, c, d)); in main() 61 …printf("a %s a ? c : d == c (%s)\n", preds[i].name, boolstring((*preds[i].selfunc)(a, a, c, d) == … in main() [all …]
|