![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
基础知识
Yiduwang
这个作者很懒,什么都没留下…
展开
-
计算机语言简史
1950-1960Fortran - math/scienceCobol - businessLisp - AI1970'sPascal - education(elegant)early 1980'sC - (old fashion & simple)late 1980'sC++ - object oriented lang原创 2017-12-24 12:48:55 · 171 阅读 · 0 评论 -
进制转换方法大全
任意进制转十进制e.g. (253)Base 6 -> (?)Base 10= 2*6^2+5*6^1+3*6^0=105(136)Base 6 -> (?)Base 10= 1*7^2 + 3*7^1 + 6*7^0= 76十进制转任意进制e.g (76)Base 10 -> (?)Base 776/7 = 10······610/7 = 1······3原创 2017-12-24 11:58:11 · 2905 阅读 · 0 评论 -
Java中的除法结果与除数被除数的类型有关
3 / 4 = 07 / 3.0 = 2.333333.0 / 4.0 = 0.757 / 3 = 2原创 2017-12-24 13:58:43 · 3263 阅读 · 0 评论 -
Java run-off error(on float and double)
We can't store real 3.9 in Base 2.double a = 3.9;boolean b = false;if(a == 3.9){ b = true;}System.out.println(b);输出为:false(3.9)Base 10 = (1 1 . 1 1 1 00 1 1.原创 2017-12-25 11:38:37 · 234 阅读 · 0 评论 -
Java数据类型内存大小与hierarchy
long - 8 bytesint - 4 bytesshort - 2 bytesdouble - 8 bytesfloat - 4 bytes原创 2017-12-24 13:55:11 · 438 阅读 · 0 评论