Home
last modified time | relevance | path

Searched refs:OVERFLOW_MASK (Results 1 – 1 of 1) sorted by relevance

/external/srec/srec/cfront/
Dwav_acc.c96 #define OVERFLOW_MASK 0x40000000 macro
130 if (ws->nsam > OVERFLOW_MASK) *overflow = 1; in get_sig_check()
135 mean = ((float)ws->sum + (float)ws->sum2 * OVERFLOW_MASK) / ws->nsam; in get_sig_check()
138 sqr_devn = (((float)ws->sumsqu + (float)ws->sumsqu2 * OVERFLOW_MASK) in get_sig_check()
190 if (ws->nsam > OVERFLOW_MASK) return; in acc_wave_stats()
202 if (ws->sumsqu > OVERFLOW_MASK) in acc_wave_stats()
204 ws->sumsqu -= OVERFLOW_MASK; in acc_wave_stats()
220 if (ws->sum >= OVERFLOW_MASK) in acc_wave_stats()
222 ws->sum -= OVERFLOW_MASK; in acc_wave_stats()
225 else if (ws->sum < -OVERFLOW_MASK) in acc_wave_stats()
[all …]