maths: whitespace

This commit is contained in:
Danny Robson 2014-09-11 15:34:46 +10:00
parent 25f6cd635b
commit 59348c0589

View File

@ -5,12 +5,12 @@
* terms of the GNU General Public License as published by the Free Software * terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later * Foundation, either version 3 of the License, or (at your option) any later
* version. * version.
* *
* libgim is distributed in the hope that it will be useful, but WITHOUT ANY * libgim is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details. * details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with libgim. If not, see <http://www.gnu.org/licenses/>. * along with libgim. If not, see <http://www.gnu.org/licenses/>.
* *
@ -71,10 +71,10 @@ unsigned
digits (const uint32_t &v) { digits (const uint32_t &v) {
return (v >= 1000000000) ? 10 : return (v >= 1000000000) ? 10 :
(v >= 100000000) ? 9 : (v >= 100000000) ? 9 :
(v >= 10000000) ? 8 : (v >= 10000000) ? 8 :
(v >= 1000000) ? 7 : (v >= 1000000) ? 7 :
(v >= 100000) ? 6 : (v >= 100000) ? 6 :
(v >= 10000) ? 5 : (v >= 10000) ? 5 :
(v >= 1000) ? 4 : (v >= 1000) ? 4 :
(v >= 100) ? 3 : (v >= 100) ? 3 :
(v >= 10) ? 2 : (v >= 10) ? 2 :