aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/reloc.c
blob: 0695770e84806659d9af3bc0ef170a7019afdbbf (plain) (blame)
1
2
3
4
5
6
7


float get_value(unsigned x)
{
   static const float values [] = {1.1f, 1.2f, 1.3f, 1.4f};
   return x < 4 ? values[x] : 0.0f;
}