#include <stdlib.h>
#include "problem.h"
Functions | |
void | prepareInput (int inputSize) |
Select two random numbers in the range 1. | |
int | execute () |
Execute by invoking malloc(numElements) a total of numT times. | |
void | postInputProcessing () |
No postprocessing needed. | |
void | problemUsage () |
No specific problem usage. | |
Variables | |
static float | m |
First random float. | |
static float | n |
Second random double. | |
static int | psize |
Number of times to compute division. |
int execute | ( | ) |
Execute by invoking malloc(numElements) a total of numT times.
.numElements
output sum to be sure is correct.
void postInputProcessing | ( | ) |
No postprocessing needed.
void prepareInput | ( | int | inputSize | ) |
Select two random numbers in the range 1.
.2^32. m and n are integral.
void problemUsage | ( | ) |
No specific problem usage.
float m [static] |
First random float.
float n [static] |
Second random double.
int psize [static] |
Number of times to compute division.
Algorithm Development Kit 1.0