Changeset acf7d30 for src/mathutils.c


Ignore:
Timestamp:
Oct 2, 2009, 2:10:25 AM (10 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
1498ced
Parents:
c0b295c
Message:

src/mathutils.c and co: use 0.0, not 0.0f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mathutils.c

    rc0b295c racf7d30  
    8686smpl_t fvec_mean(fvec_t *s) {
    8787  uint_t i,j;
    88   smpl_t tmp = 0.0f;
     88  smpl_t tmp = 0.0;
    8989  for (i=0; i < s->channels; i++)
    9090    for (j=0; j < s->length; j++)
     
    9595smpl_t fvec_sum(fvec_t *s) {
    9696  uint_t i,j;
    97   smpl_t tmp = 0.0f;
     97  smpl_t tmp = 0.0;
    9898  for (i=0; i < s->channels; i++)
    9999    for (j=0; j < s->length; j++)
     
    104104smpl_t fvec_max(fvec_t *s) {
    105105  uint_t i,j;
    106   smpl_t tmp = 0.0f;
     106  smpl_t tmp = 0.0;
    107107  for (i=0; i < s->channels; i++)
    108108    for (j=0; j < s->length; j++)
     
    133133uint_t fvec_max_elem(fvec_t *s) {
    134134  uint_t i,j=0, pos=0.;
    135   smpl_t tmp = 0.0f;
     135  smpl_t tmp = 0.0;
    136136  for (i=0; i < s->channels; i++)
    137137    for (j=0; j < s->length; j++) {
     
    144144void fvec_shift(fvec_t *s) {
    145145  uint_t i,j;
    146   //smpl_t tmp = 0.0f;
     146  //smpl_t tmp = 0.0;
    147147  for (i=0; i < s->channels; i++)
    148148    for (j=0; j < s->length / 2 ; j++) {
Note: See TracChangeset for help on using the changeset viewer.