maths: whitespace
This commit is contained in:
parent
25f6cd635b
commit
59348c0589
@ -5,12 +5,12 @@
|
||||
* 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
|
||||
* version.
|
||||
*
|
||||
*
|
||||
* libgim is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||
* details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with libgim. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
@ -71,10 +71,10 @@ unsigned
|
||||
digits (const uint32_t &v) {
|
||||
return (v >= 1000000000) ? 10 :
|
||||
(v >= 100000000) ? 9 :
|
||||
(v >= 10000000) ? 8 :
|
||||
(v >= 10000000) ? 8 :
|
||||
(v >= 1000000) ? 7 :
|
||||
(v >= 100000) ? 6 :
|
||||
(v >= 10000) ? 5 :
|
||||
(v >= 10000) ? 5 :
|
||||
(v >= 1000) ? 4 :
|
||||
(v >= 100) ? 3 :
|
||||
(v >= 10) ? 2 :
|
||||
|
Loading…
Reference in New Issue
Block a user