Searched refs:nums (Results 1 – 2 of 2) sorted by relevance
38 int nums[3]; // maj, min, sub in getMachineKvers() local54 nums[cur_num++] = stoi(token); in getMachineKvers()63 nums[cur_num++] = stoi(token); in getMachineKvers()69 return (65536 * nums[0] + 256 * nums[1] + nums[2]); in getMachineKvers()
124 double mean(std::deque<uint32_t> nums) { in mean() argument126 for (uint32_t i : nums) { in mean()129 return sum / nums.size(); in mean()132 double standard_deviation(std::deque<uint32_t> nums) { in standard_deviation() argument134 double avg = mean(nums); in standard_deviation()135 for (uint32_t i : nums) { in standard_deviation()138 return sqrt(sum / nums.size()); in standard_deviation()