forked from savamarc/MRGspeedtest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
powers.h
67 lines (66 loc) · 1.61 KB
/
powers.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
#pragma once
// P2_X = 2^X-1
#define P2_01 1
#define P2_02 3
#define P2_03 7
#define P2_04 15
#define P2_05 31
#define P2_06 63
#define P2_07 127
#define P2_08 255
#define P2_09 511
#define P2_10 1023
#define P2_11 2047
#define P2_12 4095
#define P2_13 8191
#define P2_14 16383
#define P2_15 32767
#define P2_16 65535
#define P2_17 131071
#define P2_18 262143
#define P2_19 524287
#define P2_20 1048575
#define P2_21 2097151
#define P2_22 4194303
#define P2_23 8388607
#define P2_24 16777215
#define P2_25 33554431
#define P2_26 67108863
#define P2_27 134217727
#define P2_28 268435455
#define P2_29 536870911
#define P2_30 1073741823
#define P2_31 2147483647
#define P2_32 4294967295
#define P2_33 8589934591
#define P2_34 17179869183
#define P2_35 34359738367
#define P2_36 68719476735
#define P2_37 137438953471
#define P2_38 274877906943
#define P2_39 549755813887
#define P2_40 1099511627775
#define P2_41 2199023255551
#define P2_42 4398046511103
#define P2_43 8796093022207
#define P2_44 17592186044415
#define P2_45 35184372088831
#define P2_46 70368744177663
#define P2_47 140737488355327
#define P2_48 281474976710655
#define P2_49 562949953421311
#define P2_50 1125899906842623
#define P2_51 2251799813685247
#define P2_52 4503599627370495
#define P2_53 9007199254740991
#define P2_54 18014398509481983
#define P2_55 36028797018963967
#define P2_56 72057594037927935
#define P2_57 144115188075855871
#define P2_58 288230376151711743
#define P2_59 576460752303423487
#define P2_60 1152921504606846975
#define P2_61 2305843009213693951
#define P2_62 4611686018427387903
#define P2_63 9223372036854775807
#define P2_64 18446744073709551615