This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Just a small remark, in bessel_function.tcc, the following:Thanks Francois. Besides the tiny-winy specific issue, we can all learn why normally unrelated changes should not be bundled together in the same patch, even more so when the more substantive one is by far the smaller.
+ if (__x == _Tp(0)) + { + if (__nu == _Tp(0)) + return _Tp(1); + else if (__nu == _Tp(1)) + return _Tp(0); + else + return _Tp(0); + }
could be simplified into
+ if (__x == _Tp(0)) + return (__nu == _Tp(0)) ? _Tp(1) : _Tp(0);
Thanks, Paolo.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |