forked from highlightjs/highlight.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnumbers.txt
More file actions
35 lines (35 loc) · 710 Bytes
/
numbers.txt
File metadata and controls
35 lines (35 loc) · 710 Bytes
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
long creditCardNumber = 1234_5678_9012_3456L;
long socialSecurityNumber = 999_99_9999L;
float pi = 3.14_15F;
long hexBytes = 0xFF_EC_DE_5E;
long hexWords = 0xCAFE_BABE;
long maxLong = 0x7fff_ffff_ffff_ffffL;
byte nybbles = 0b0010_0101;
long bytes = 0b11010010_01101001_10010100_10010010;
int n = 1234 + Contacts._ID;
float f = 0x1.4p2f;
double d = 0x.ep-6;
int octal = 0777;
float f = 2e3f;
double d = 1.2e4D;
a = 0x4fa6p2;
b = 0x.4p2;
c = 0xa.ffp3f;
d = 0x1.0p2F;
e = 0x1.0p2f;
f = 0x1p1;
g = 0x.3p4d;
h = 0x1.2ep5D;
i = 0x1.p2;
int i = 23;
byte mask = 0x0f;
int i = 4;
byte mask = 0xa;
float f = 5.4;
float f = 2e3;
int n = 0b1;
float f = 3.;
f = 3_3.;
// TODO: in the future
// float f = .2;
// f = .2_022;