aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/scheduling/mal_schedule.c
blob: a6ba967f91e999b63936d258745aa8a60b2e629d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdint.h>
int16_t meuh;
extern int uv_encode(double, double, int);
void f(int *ab, int e) {
  uint32_t *ao = (uint32_t *)ab;
  int16_t *aq = &meuh;
  while (e) {
    int ar, as;
    ar = 1. / 2147483647;
    as = uv_encode(5, *aq, *ab);
    if (as)
      *ao++ = ar;
  }
}