Mercurial > octave
diff liboctave/util/oct-inttypes.h @ 19739:3fa35defe495
Adjust spacing of static_cast<> calls to follow Octave coding conventions.
* __init_qt__.cc, file-editor.cc, main-window.cc, bsxfun.cc, data.cc,
filter.cc, gammainc.cc, ls-hdf5.cc, mex.cc, oct-stream.cc, lo-mappers.cc,
lo-specfun.cc, data-conv.cc, lo-regexp.cc, oct-inttypes.h:
Adjust spacing of static_cast<> calls to follow Octave coding conventions.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 17 Feb 2015 13:34:32 -0800 |
parents | 4197fc428c7d |
children | 19755f4fc851 |
line wrap: on
line diff
--- a/liboctave/util/oct-inttypes.h Tue Feb 17 16:30:52 2015 -0500 +++ b/liboctave/util/oct-inttypes.h Tue Feb 17 13:34:32 2015 -0800 @@ -310,7 +310,7 @@ // If val is even, but orig_val is odd, we're one unit off. if (orig_val % 2 && val / 2 == xround (val / 2)) // FIXME: is this always correct? - val *= (static_cast<S>(1) - (std::numeric_limits<S>::epsilon () / 2)); + val *= (static_cast<S> (1) - (std::numeric_limits<S>::epsilon () / 2)); return val; }