From fc7365b320bfa064736f955edf1ecbc24e2b2f94 Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Sat, 30 Aug 2014 20:58:05 +0200 Subject: [PATCH] preprocessor_math.h: fix errorneous comment. --- preprocessor_math.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/preprocessor_math.h b/preprocessor_math.h index f4c8dbb..e46fff9 100644 --- a/preprocessor_math.h +++ b/preprocessor_math.h @@ -19,8 +19,7 @@ (uint32_t)(sqrt(i) + .5) These two provide identical results for all tested numbers across the - uint32 range. This "+ .5" is for rounding and not crucial. Casting to - other sizes is also possible. + uint32 range. Casting to other sizes is also possible. Can principally be used for calculations at runtime, too, but its compiled size is prohibitively large (more than 20kB per instance).