aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/defines.h
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2014-04-30 19:09:28 +0900
committerKen Wakasa <kwakasa@google.com>2014-04-30 19:41:42 +0900
commitfc2858c55bf64ef96b1b60f19db23de4b0c62c9c (patch)
tree8e29d3151c9acc6cfe12d17a310a1db3e1c32d6b /native/jni/src/defines.h
parent1690992d1b5e37f21edb3040d5b939bd0f713efc (diff)
downloadlatinime-fc2858c55bf64ef96b1b60f19db23de4b0c62c9c.tar.gz
latinime-fc2858c55bf64ef96b1b60f19db23de4b0c62c9c.tar.xz
latinime-fc2858c55bf64ef96b1b60f19db23de4b0c62c9c.zip
Small clean up for LARGEST_INT_DIGIT_COUNT
Change-Id: I4a61c037370bf57b396d80ba7212d94328eaf7b9
Diffstat (limited to 'native/jni/src/defines.h')
-rw-r--r--native/jni/src/defines.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/native/jni/src/defines.h b/native/jni/src/defines.h
index 2fe2bd8fa..cd095c91d 100644
--- a/native/jni/src/defines.h
+++ b/native/jni/src/defines.h
@@ -293,13 +293,6 @@ static inline void prof_out(void) {
#define M_PI_F 3.14159265f
#define MAX_PERCENTILE 100
-// Number of base-10 digits in the largest integer + 1 to leave room for a zero terminator.
-// As such, this is the maximum number of characters will be needed to represent an int as a
-// string, including the terminator; this is used as the size of a string buffer large enough to
-// hold any value that is intended to fit in an integer, e.g. in the code that reads the header
-// of the binary dictionary where a {key,value} string pair scheme is used.
-#define LARGEST_INT_DIGIT_COUNT 11
-
#define NOT_A_CODE_POINT (-1)
#define NOT_A_DISTANCE (-1)
#define NOT_A_COORDINATE (-1)