Mercurial > octave
view .dir-locals.el @ 29831:ef138252af51
xpow.cc: Use static_cast<int> in a consistent manner for exponent.
* xpow.cc (xpow (DiagMatrix, double), xpow (FloatDiagMatrix, float)): Cast
exponent to integer just once and use that result (variable bint) in
innermost for loop calling std::pow.
* xpow.cc (elem_xpow (NDArray, double), elem_xpow (FloatNDArray, float)):
Re-write code to test for "xisint (b)" rather than "! xisint (b)" to match
stytle of all other functions.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 28 Jun 2021 11:50:03 -0700 |
parents | df203b20cfc6 |
children |
line wrap: on
line source
((nil . ((c-file-style . "gnu") (indent-tabs-mode . nil) (fill-column . 72))) (change-log-mode . ((indent-tabs-mode . t))) (makefile-mode . ((indent-tabs-mode . t))))