~ubuntu-branches/ubuntu/trusty/gnuradio/trusty-updates

« back to all changes in this revision

Viewing changes to gnuradio-core/src/lib/general/qa_gr_fxpt_vco.cc

  • Committer: Package Import Robot
  • Author(s): A. Maitland Bottoms
  • Date: 2012-02-26 21:26:16 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120226212616-vsfkbi1158xshdql
Tags: 3.5.1-1
* new upstream version, re-packaged from scratch with modern tools
    closes: #642716, #645332, #394849, #616832, #590048, #642580,
    #647018, #557050, #559640, #631863
* CMake build

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
  float                 input[SIN_COS_BLOCK_SIZE];
54
54
 
55
55
  for (int i = 0; i < SIN_COS_BLOCK_SIZE; i++){
56
 
          input[i] = sin(i);
 
56
          input[i] = sin(double(i));
57
57
  }
58
58
 
59
59
  for (int i = 0; i < SIN_COS_BLOCK_SIZE; i++){
85
85
  double max_error = 0;
86
86
 
87
87
  for (int i = 0; i < SIN_COS_BLOCK_SIZE; i++){
88
 
          input[i] = sin(i);
 
88
          input[i] = sin(double(i));
89
89
  }
90
90
 
91
91
  ref_vco.cos (ref_block, input, SIN_COS_BLOCK_SIZE, SIN_COS_K, SIN_COS_AMPL);