view CITATION @ 23761:102049c83e7c

Use constexpr rather than just const to provide hint to compiler. * lo-mappers.cc (rc_log2, rc_log10): Use constexpr for pi/ln(2) and pi/ln(10) constants. * lo-specfun.cc (rc_log1p): Replace const declaration for pi with M_PI which comes from <cmath> header file.
author Rik <rik@octave.org>
date Wed, 12 Jul 2017 08:01:17 -0700
parents 9b5d5c2697bc
children 59fafbc9fbf7
line wrap: on
line source

To cite GNU Octave in publications use:

  John W. Eaton, David Bateman, Søren Hauberg, Rik Wehbring (2017).
  GNU Octave version 4.2.1 manual: a high-level interactive language for
  numerical computations.
  URL https://www.gnu.org/software/octave/doc/v4.2.1/

A BibTeX entry for LaTeX users is:

  @manual{,
    title     = {{GNU Octave} version 4.2.1 manual: a high-level interactive language for numerical computations},
    author    = {John W. Eaton and David Bateman and S{\o}ren Hauberg and Rik Wehbring},
    year      = {2017},
    url       = {https://www.gnu.org/software/octave/doc/v4.2.1/},
  }

We have invested a lot of time and effort in creating GNU Octave, please cite it
when using it.  See also `citation pkgname' for citing Octave packages.