All pastes #762159 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-11-05 13:12 UTC
rendered paste body
#include <inttypes.h>
#include <math.h>
#include <stdio.h>

const int32_t table[32] = {
      - 22731,
      - 20428,
      - 18088,
      - 15739,
      - 14113,
      - 12867,
      - 11629,
      - 10387,
      - 9139,
      - 7906,
      - 6656,
      - 5416,
      - 4173,
      - 2931,
      - 1688,
      - 445,
      801,
      2044,
      3285,
      4530,
      5772,
      7016,
      8259,
      9501,
      10745,
      11988,
      13231,
      14474,
      16096,
      18429,
      20763,
      23097
};

int main() {
    int i;
    for(i=0;i<32;i++) {
        printf("%f,\n", powf(10.0, table[i]/20.0));
    }
    return;
}