~ubuntu-branches/ubuntu/trusty/pdl/trusty-proposed

« back to all changes in this revision

Viewing changes to Lib/FFT/fftn.c

  • Committer: Bazaar Package Importer
  • Author(s): Andres Rodriguez
  • Date: 2009-12-05 12:37:41 UTC
  • mfrom: (2.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091205123741-ilqkc9s4zlk71z13
Tags: 1:2.4.5+dfsg-2ubuntu1
* Merge from debian testing (LP: #492898), remaining changes:
  - debian/perldl.conf: Enabled NAN support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
354
354
      REAL Re [],
355
355
      REAL Im [],
356
356
      int iSign,
357
 
      double scaling)
 
357
      REAL scaling)
358
358
{
359
359
   size_t nTotal;
360
360
   int maxFactors, maxPerm;
452
452
        if (iSign < 0) iSign = -iSign;
453
453
        if (scaling < 0.0)
454
454
          scaling = (scaling < -1.0) ? sqrt (nTotal) : nTotal;
 
455
 
455
456
        scaling = 1.0 / scaling;        /* multiply is often faster */
456
457
        for (i = 0; i < nTotal; i += iSign)
457
458
          {