Jan
02/19/2020, 12:20 PM0x1p10
in kotlin?Olle
02/19/2020, 12:23 PMJan
02/19/2020, 12:25 PMdouble x = 0x1p10;
Jan
02/19/2020, 12:25 PMOlle
02/19/2020, 12:29 PMval x = 1024.0
would be equal right?Jan
02/19/2020, 12:30 PMmarstran
02/19/2020, 12:32 PMOlle
02/19/2020, 12:33 PMelizarov
02/19/2020, 12:41 PMJan
02/19/2020, 1:55 PMJan
02/19/2020, 2:03 PMdouble x = 0x1p10; // 1024.0
double y = 0x1e10; // 7696.0
elizarov
02/19/2020, 2:05 PMSystem.out.println(0x1p10)
in Java to see its value in decimal notation.Olle
02/19/2020, 2:07 PMCmd+Shift+A
and search for Convert to decimal
while selecting the hex value 🙂Jan
02/19/2020, 2:08 PM