A
Aaron Gallimore
Hi,
I'm having trouble finding an absolute value of a float or double. my code
looks something like this:
for (i=0; i<num_delays ; i++){
double x = delay[i+1]-delay;
jitter_arr = abs(x);
jitter_calc = jitter_calc + jitter_arr;
}
i've stepped through and everytime I add a value to the jitter_arr[] array
it put a value of 0 in.
any ideas?
thanks
Aaron
I'm having trouble finding an absolute value of a float or double. my code
looks something like this:
for (i=0; i<num_delays ; i++){
double x = delay[i+1]-delay;
jitter_arr = abs(x);
jitter_calc = jitter_calc + jitter_arr;
}
i've stepped through and everytime I add a value to the jitter_arr[] array
it put a value of 0 in.
any ideas?
thanks
Aaron