Mercurial > octave
view .hgsub @ 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 | 88b3c6932236 |
children | b940e457e11f |