-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstatic_log10.h
78 lines (78 loc) · 1.04 KB
/
static_log10.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#undef LOG
#define LOG 0
#if X / 10
#undef LOG
#define LOG 1
#endif
#if X / 100
#undef LOG
#define LOG 2
#endif
#if X / 1000
#undef LOG
#define LOG 3
#endif
#if X / 10000
#undef LOG
#define LOG 4
#endif
#if X / 100000
#undef LOG
#define LOG 5
#endif
#if X / 1000000
#undef LOG
#define LOG 6
#endif
#if X / 10000000
#undef LOG
#define LOG 7
#endif
#if X / 100000000
#undef LOG
#define LOG 8
#endif
#if X / 1000000000
#undef LOG
#define LOG 9
#endif
#if X / 10000000000
#undef LOG
#define LOG 10
#endif
#if X / 100000000000
#undef LOG
#define LOG 11
#endif
#if X / 1000000000000
#undef LOG
#define LOG 12
#endif
#if X / 10000000000000
#undef LOG
#define LOG 13
#endif
#if X / 100000000000000
#undef LOG
#define LOG 14
#endif
#if X / 1000000000000000
#undef LOG
#define LOG 15
#endif
#if X / 10000000000000000
#undef LOG
#define LOG 16
#endif
#if X / 100000000000000000
#undef LOG
#define LOG 17
#endif
#if X / 1000000000000000000
#undef LOG
#define LOG 18
#endif
#if X / 10000000000000000000
#undef LOG
#define LOG 19
#endif