当前位置:网站首页>float和long取值大小比较
float和long取值大小比较
2022-07-21 05:21:00 【浔枫】
1.long的取值大小
在java中,long类型的数据占8个字节,即64位
所以long的取值范围为-264 ~ 264-1
即-9223372036854775808到9223372036854775807
2.float的取值大小
在java中,float类型占4个字节,即32位
其中,第一位为符号位,后面8位为阶码,最后面23位为尾数
取值范围为±(2-2-23)2127
即约等于3.41038
边栏推荐
- Name reference defined by peoplecode
- 1.Asible的安装及部署
- MySQL multi table Association delete / update
- SQL Server | Unicode and non Unicode string data types
- Importance of database monitoring
- Peoplecode variable
- Lamp Architecture - MySQL high availability switching (MHA high availability)
- Use of source lnsight (read uboot under Samba share)
- [secondary development of GeoServer] development of rest automatic deployment module based on GeoServer Manager
- JProfiler installation and use tutorial
猜你喜欢
[rviz2] error occurs when importing URDF model: could not load resource XXX, unable to open file XXX, error retrieving file XXX
高可用集群Keepalived
2. Modules communs dans ansible
Kruskal reconstruction tree
Connections and differences between three-level dispatching
Use of source lnsight (read uboot under Samba share)
Five states of the process
Leakage current, no grounding protection measures... 1296 imported electric kettle have major potential safety hazards
Detailed explanation of NiO's three cores
Deployment of three centers in two places
随机推荐
Frequently asked interview questions in software testing [3]
LNMP ------php7 installation
Complete IP protocol number
WiFi authentication & OmniPeek packet capture analysis
Software test interview questions and answers [1]
[email protected] interactive
[infrastructure] [flink] Flink / Flink CDC code to achieve business access
Build server intranet Yum warehouse
12. User microservice
WebService (soap) request of JMeter
Vote | choose the database you want Navicat to support
Dry goods sharing - what knowledge points did you take in the soft test high items in the first half of 2022?
2.Ansible中常用模塊
Take you to easily decrypt the white box test and (Demo detailed explanation)
Migrate repo managed code to Gerrit
Quickly solve the problem that the computer wireless network cannot be connected
Geographic scene visualization system based on GeoServer
Datagrip 2021 uses settings that make it smoother to use
Zabbix+ distributed database tidb realizes distributed database monitoring
top及ifconfig命令