File Coverage

djbsort_src/float32_sort.c
Criterion Covered Total %
statement 12 12 100.0
branch 4 4 100.0
condition n/a
subroutine n/a
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             /* WARNING: auto-generated (by autogen/useint); do not edit */
2              
3             #include "djbsort.h"
4             #include "float32_sort.h"
5             #include "crypto_int32.h"
6              
7 1           void float32_sort(float *x,long long n)
8             {
9 1           int32_t *y = (int32_t *) x;
10             long long j;
11              
12 4 100         for (j = 0;j < n;++j) {
13 3           int32_t yj = y[j];
14 3           yj ^= ((uint32_t) crypto_int32_negative_mask(yj)) >> 1;
15 3           y[j] = yj;
16             }
17 1           djbsort_int32(y,n);
18 4 100         for (j = 0;j < n;++j) {
19 3           int32_t yj = y[j];
20 3           yj ^= ((uint32_t) crypto_int32_negative_mask(yj)) >> 1;
21 3           y[j] = yj;
22             }
23 1           }