Searched refs:num_data_items (Results 1 – 2 of 2) sorted by relevance
17 int num_data_items = 0; variable59 if (num_data_items == DATA_COUNT) { in main()64 sscanf(in_buf, "%lf", &data_items[num_data_items]); in main()66 printf("%lf\n", data_items[num_data_items]); in main()68 num_data_items++; in main()70 if (num_data_items == 0) { in main()75 printf("Total items %lu\n", num_data_items); in main()77 for (i = 0 ; i < num_data_items ; i++) { in main()81 mean = sum_x / num_data_items; in main()83 std_dev = sqrt((sum_sq_x / num_data_items) - (mean * mean)); in main()[all …]
17 int num_data_items = 0; variable59 if (num_data_items == DATA_COUNT) { in main()64 sscanf(in_buf, "%ju", &data_items[num_data_items]); in main()66 printf("%lu\n", data_items[num_data_items++]); in main()68 num_data_items++; in main()70 if (num_data_items == 0) { in main()75 printf("Total items %lu\n", num_data_items); in main()77 for (i = 0 ; i < num_data_items ; i++) { in main()81 mean = sum_x / num_data_items; in main()83 std_dev = sqrt((sum_sq_x / num_data_items) - (mean * mean)); in main()[all …]