首页
/
每日頭條
/
教育
/
一個數時是多少
一個數時是多少
更新时间:2026-11-12 01:42:45

  1、一個數字是一個字節。字節的标準定義:一個字節均為8位。由于上述所講每個位或者是0或者是1,所以一個8位的字節包含256種可能的0,1組合。

  2、整數要根據類型,一般是極其的字長。比如16位機整數就是16位Bit,兩個字節。32位機就是4字節。還有int64類型的整數。

  3、至于實數在C中,有32位(float)和64位(double)之分。其他語言中有類型80位的,叫擴展精度實數。主要是在cpu内部的擴展精度實數寄存器,是80位的。保證在double實數運算是不損失精度。

Comments
Welcome to tft每日頭條 comments! Please keep conversations courteous and on-topic. To fosterproductive and respectful conversations, you may see comments from our Community Managers.
Sign up to post
Sort by
Show More Comments
Copyright 2023-2026 - www.tftnews.com All Rights Reserved