long x=123456789;
float f =x;
System.out.println(f);
The result is 1.23456792E8
long 8 bytes float 4 bytes
median is less than how truncation is how specific this 1.23456792E8 out of ?
------ Solution ---------------------------------------- ----
reference
------ Solution --------------- -----------------------------
learning . Learn , learn, learn
------ Solution ----------------------------------- ---------
I have come to learn
------ Solution ----------------------- ---------------------
according to IEEE754 standard conversion slightly
没有评论:
发表评论