Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: PDLPorters/pdl
base: 2309b32aef50
Choose a base ref
...
head repository: PDLPorters/pdl
compare: 0cce2863b0cd
Choose a head ref
  • 4 commits
  • 3 files changed
  • 1 contributor

Commits on Aug 29, 2016

  1. Avoid an abs() in pdlapi.c.

    This was motivated because we should have been using labs or llabs,
    the correct function to call was system-dependent. This avoides all
    that by replacing the abs() call with multiplication by the
    variable's sign.
    d-lamb committed Aug 29, 2016
    Copy the full SHA
    f670a4c View commit details
    Browse the repository at this point in the history
  2. Choose the correct absolute value function for the datatype in fft.pd.

    fabs is fine for doubles, but not for anything else: this inserts
    the correct function (abs, labs, llabs, etc) based on the datatype
    used in the complex division. I hope.
    d-lamb committed Aug 29, 2016
    Copy the full SHA
    ab2b811 View commit details
    Browse the repository at this point in the history
  3. Get double from anyval in pdlapi.c's pdl_dump_fixspace()

    This silences a compiler warning about a printf wanting double ("%f")
    but we passed an Anyval.
    d-lamb committed Aug 29, 2016
    Copy the full SHA
    0c3ec29 View commit details
    Browse the repository at this point in the history
  4. Manually add 2 slatec function prototypes to the header file

    Most prototypes get inserted into SlatecProtos.h by defslatec.
    But polfit_ and dpolft_ do not, so they need to be added manually.
    d-lamb committed Aug 29, 2016
    Copy the full SHA
    0cce286 View commit details
    Browse the repository at this point in the history